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