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()
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기