public class ExportImportDevice extends Object
| Constructor and Description |
|---|
ExportImportDevice()
Default constructor for an ExportImportDevice object.
|
ExportImportDevice(String deviceId,
AuthenticationType authenticationType)
Constructor for an ExportImportDevice object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
AuthenticationMechanism |
getAuthenticationFinal()
Getter for device authentication mechanism.
|
com.microsoft.azure.sdk.iot.deps.twin.TwinCollection |
getDesiredProperties() |
String |
geteTag()
Getter for device eTag.
|
String |
getId()
Getter for device id.
|
ImportMode |
getImportMode()
Getter for device import mode.
|
com.microsoft.azure.sdk.iot.deps.twin.TwinCollection |
getReportedProperties() |
DeviceStatus |
getStatus()
Getter for device status.
|
String |
getStatusReason()
Getter for device status reason.
|
com.microsoft.azure.sdk.iot.deps.twin.TwinCollection |
getTags() |
int |
hashCode() |
void |
setAuthentication(AuthenticationMechanism authentication)
Setter for device authentication mechanism.
|
void |
setDesiredProperties(com.microsoft.azure.sdk.iot.deps.twin.TwinCollection desiredProperties) |
void |
seteTag(String eTag)
Setter for device eTag.
|
void |
setId(String id)
Setter for device id.
|
void |
setImportMode(ImportMode importMode)
Setter for device import mode.
|
void |
setReportedProperties(com.microsoft.azure.sdk.iot.deps.twin.TwinCollection reportedProperties) |
void |
setStatus(DeviceStatus status)
Setter for device status.
|
void |
setStatusReason(String statusReason)
Setter for device status reason.
|
void |
setTags(com.microsoft.azure.sdk.iot.deps.twin.TwinCollection tags) |
public ExportImportDevice()
public ExportImportDevice(String deviceId, AuthenticationType authenticationType) throws IllegalArgumentException
deviceId - the id of the new deviceauthenticationType - the type of authentication to be used. For shared access signature and self signed x.509, all keys shall be generated automatically.IllegalArgumentException - if the provided deviceId or authenticationType is null or emptypublic void setId(String id) throws IllegalArgumentException
id - The device id.IllegalArgumentException - if the provided id is nullpublic String getId()
public String geteTag()
public void seteTag(String eTag)
eTag - The device eTag.public ImportMode getImportMode()
public void setImportMode(ImportMode importMode)
importMode - The device import mode.public DeviceStatus getStatus()
public void setStatus(DeviceStatus status)
status - The device status.public String getStatusReason()
public void setStatusReason(String statusReason)
statusReason - The device status reason.public AuthenticationMechanism getAuthenticationFinal()
public void setAuthentication(AuthenticationMechanism authentication) throws IllegalArgumentException
authentication - The device authentication mechanism.IllegalArgumentException - if the provided authentication is nullpublic com.microsoft.azure.sdk.iot.deps.twin.TwinCollection getTags()
public void setTags(com.microsoft.azure.sdk.iot.deps.twin.TwinCollection tags)
tags - the tags to setpublic com.microsoft.azure.sdk.iot.deps.twin.TwinCollection getReportedProperties()
public void setReportedProperties(com.microsoft.azure.sdk.iot.deps.twin.TwinCollection reportedProperties)
reportedProperties - the reportedProperties to setpublic com.microsoft.azure.sdk.iot.deps.twin.TwinCollection getDesiredProperties()
public void setDesiredProperties(com.microsoft.azure.sdk.iot.deps.twin.TwinCollection desiredProperties)
desiredProperties - the desiredProperties to setCopyright © 2022. All rights reserved.