public class IotHubConnectionStringBuilder extends Object
| Constructor and Description |
|---|
IotHubConnectionStringBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static IotHubConnectionString |
createIotHubConnectionString(String connectionString)
Static constructor to create IotHubConnectionString from the given string
|
static IotHubConnectionString |
createIotHubConnectionString(String hostName,
AuthenticationMethod authenticationMethod)
Static constructor to create IotHubConnectionString from host name and authentication method
|
public static IotHubConnectionString createIotHubConnectionString(String connectionString)
connectionString - The connection stringpublic static IotHubConnectionString createIotHubConnectionString(String hostName, AuthenticationMethod authenticationMethod)
hostName - The hostName stringauthenticationMethod - The AuthenticationMethod objectCopyright © 2024. All rights reserved.