IotHubConnectionStringBuilder Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. auth. IotHubConnectionStringBuilder
- com.
public class IotHubConnectionStringBuilder
Provide static constructors to create IotHubConnectionString object
Method Summary
Modifier and Type | Method and Description |
---|---|
Iot |
createIotHubConnectionString(String connectionString)
Static constructor to create IotHubConnectionString from the given string |
Iot |
createIotHubConnectionString(String hostName, AuthenticationMethod authenticationMethod)
Static constructor to create IotHubConnectionString from host name and authentication method |
Method Details
createIotHubConnectionString
public static IotHubConnectionString createIotHubConnectionString(String connectionString)
Static constructor to create IotHubConnectionString from the given string
Parameters:
Returns:
createIotHubConnectionString
public static IotHubConnectionString createIotHubConnectionString(String hostName, AuthenticationMethod authenticationMethod)
Static constructor to create IotHubConnectionString from host name and authentication method
Parameters:
Returns:
Applies to
Azure SDK for Java