### 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: exceptions: - type: description: >-

if the provided connectionString isnull  , empty, or not valid or if the hostName in the connection string is not a valid URI.

summary: >-

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: - description:

the device ID.

name: deviceId type: - description:

the device key.

name: sharedAccessKey type: - description:

the shared access token.

name: sharedAccessToken type: exceptions: - type: description:

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: - methods: - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getDeviceId() name: getDeviceId() nameWithType: IotHubConnectionString.getDeviceId() returns: description:

string with the deviceId in the connectionString

type: summary:

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: syntax: public String getGatewayHostName() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getGatewayHostName() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getHostName() name: getHostName() nameWithType: IotHubConnectionString.getHostName() returns: description:

string with the hostName in the connectionString

type: summary:

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: summary:

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: syntax: public String getModuleId() uid: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getModuleId() - fullName: com.microsoft.azure.sdk.iot.device.IotHubConnectionString.getSharedAccessKey() name: getSharedAccessKey() nameWithType: IotHubConnectionString.getSharedAccessKey() returns: description: >-

string with the sharedAccessKey in the connectionString. It can benull  .

type: summary:

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  .

type: summary:

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: summary: >-

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: exceptions: - type: description:

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: {}