ProvisioningDeviceClientRegistrationResult Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. provisioning. device. ProvisioningDeviceClientRegistrationResult
- com.
public class ProvisioningDeviceClientRegistrationResult
Field Summary
Modifier and Type | Field and Description |
---|---|
protected java.lang.String | deviceId |
protected java.lang.String | iothubUri |
protected java.lang.String | payload |
protected
Provisioning |
provisioningDeviceClientStatus |
Constructor Summary
Constructor | Description |
---|---|
ProvisioningDeviceClientRegistrationResult() |
Empty constructor to let users gather the data. |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeviceId()
Getter for Device ID. |
java.lang.String |
getIothubUri()
Getter for the Iot |
Provisioning |
getProvisioningDeviceClientStatus()
Getter for the Provisioning Device Client Status |
java.lang.String |
getProvisioningPayload()
Retrieves the provisioning payload results from DPS |
Methods inherited from java.lang.Object
Field Details
deviceId
protected String deviceId
iothubUri
protected String iothubUri
payload
protected String payload
provisioningDeviceClientStatus
protected ProvisioningDeviceClientStatus provisioningDeviceClientStatus
Constructor Details
ProvisioningDeviceClientRegistrationResult
public ProvisioningDeviceClientRegistrationResult()
Empty constructor to let users gather the data.
Method Details
getDeviceId
public String getDeviceId()
Getter for Device ID.
Returns:
null
when registration fails.getIothubUri
public String getIothubUri()
Getter for the IotHubUri.
Returns:
null
when registration fails.getProvisioningDeviceClientStatus
public ProvisioningDeviceClientStatus getProvisioningDeviceClientStatus()
Getter for the Provisioning Device Client Status
Returns:
getProvisioningPayload
public String getProvisioningPayload()
Retrieves the provisioning payload results from DPS
Returns:
Applies to
Azure SDK for Java