### YamlMime:JavaType constructors: - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.IotHubConnectionString(String connectionString) name: IotHubConnectionString(String connectionString) nameWithType: IotHubConnectionString.IotHubConnectionString(String connectionString) parameters: - description:
is the iothub connection string to parse.
name: connectionString type:if the provided connectionString isnull
, empty, or not valid or if the hostName in the connection string is not a valid URI.
CONSTRUCTOR.
syntax: public IotHubConnectionString(String connectionString) uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.IotHubConnectionString(String) - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.IotHubConnectionString(String hostName, String deviceId, String sharedAccessKey, String sharedAccessToken) name: IotHubConnectionString(String hostName, String deviceId, String sharedAccessKey, String sharedAccessToken) nameWithType: IotHubConnectionString.IotHubConnectionString(String hostName, String deviceId, String sharedAccessKey, String sharedAccessToken) parameters: - description:the IoT Hub hostname.
name: hostName type:the device ID.
name: deviceId type:the device key.
name: sharedAccessKey type:the shared access token.
name: sharedAccessToken type:if the IoT Hub hostname does not contain a valid IoT Hub name as its prefix or if the IoT Hub hostname does not conform to RFC 3986.
summary: >-Constructor.
syntax: public IotHubConnectionString(String hostName, String deviceId, String sharedAccessKey, String sharedAccessToken) uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.IotHubConnectionString(String,String,String,String) inheritances: -string with the deviceId in the connectionString
type:Getter for the deviceId.
syntax: public String getDeviceId() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getDeviceId() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getGatewayHostName() name: getGatewayHostName() nameWithType: IotHubConnectionString.getGatewayHostName() returns: type:string with the hostName in the connectionString
type:Getter for the hostName.
syntax: public String getHostName() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getHostName() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getHubName() name: getHubName() nameWithType: IotHubConnectionString.getHubName() returns: description:string with the hubName in the connectionString
type:Getter for the hubName.
syntax: public String getHubName() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getHubName() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getModuleId() name: getModuleId() nameWithType: IotHubConnectionString.getModuleId() returns: type:string with the sharedAccessKey in the connectionString. It can benull
.
Getter for the sharedAccessKey.
syntax: public String getSharedAccessKey() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getSharedAccessKey() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getSharedAccessToken() name: getSharedAccessToken() nameWithType: IotHubConnectionString.getSharedAccessToken() returns: description: >-string with the sharedAccessToken in the connectionString. It can benull
.
Getter for the sharedAccessToken.
syntax: public String getSharedAccessToken() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getSharedAccessToken() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.isUsingX509() name: isUsingX509() nameWithType: IotHubConnectionString.isUsingX509() returns: description:The value of UsingX509
type:Getter for UsingX509
syntax: public boolean isUsingX509() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.isUsingX509() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.setSharedAccessToken(String sharedAccessToken) name: setSharedAccessToken(String sharedAccessToken) nameWithType: IotHubConnectionString.setSharedAccessToken(String sharedAccessToken) parameters: - description:the new token value to set
name: sharedAccessToken type:if the provided value is null or empty
summary:Setter for the shared access token
syntax: public void setSharedAccessToken(String sharedAccessToken) uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.setSharedAccessToken(String) nameWithType: IotHubConnectionString syntax: public class IotHubConnectionString type: class uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString name: IotHubConnectionString package: com.microsoft.azure.sdk.iot.device summary:Parser for the Iothub connection string.
metadata: {}