File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
sdk/src/main/java/software/amazon/awssdk/iot Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -638,6 +638,17 @@ public AwsIotMqtt5ClientBuilder withTopicAliasingOptions(TopicAliasingOptions op
638
638
return this ;
639
639
}
640
640
641
+ /**
642
+ * Sets the minimum TLS version that is acceptable for connection establishment.
643
+ *
644
+ * @param minimumTlsVersion - Minimum TLS version allowed in client connections.
645
+ * @return - The AwsIotMqtt5ClientBuilder
646
+ */
647
+ public AwsIotMqtt5ClientBuilder withMinimumTlsVersion (TlsContextOptions .TlsVersions minimumTlsVersion ) {
648
+ this .configTls .minTlsVersion = minimumTlsVersion ;
649
+ return this ;
650
+ }
651
+
641
652
/**
642
653
* Constructs an MQTT5 client object configured with the options set.
643
654
* @return A MQTT5ClientOptions
You can’t perform that action at this time.
0 commit comments