ClientOptions Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. device. ClientOptions
- com.
public final class ClientOptions
Options that allow configuration of the device client instance during initialization.
Field Summary
Modifier and Type | Field and Description |
---|---|
java.lang.String |
ModelId
The Digital Twin Model Id associated with the device and module identity. |
javax.net.ssl.SSLContext |
sslContext
The ssl context that will be used during authentication. |
Constructor Summary
Constructor | Description | |
---|---|---|
ClientOptions() |
Methods inherited from java.lang.Object
Field Details
ModelId
public String ModelId
The Digital Twin Model Id associated with the device and module identity. Non plug and play users should not set this value This feature is currently supported only over MQTT
sslContext
public SSLContext sslContext
The ssl context that will be used during authentication. If the provided connection string does not contain SAS based credentials, then the sslContext will be used for x509 authentication. If the provided connection string does contain SAS based credentials, the sslContext will still be used during SSL negotiation. By default, this SDK will create an SSLContext instance for you that trusts the IoT Hub public certificates.
Constructor Details
ClientOptions
public ClientOptions()