你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ExportImportDevice Class
- java.
lang. Object - com.
microsoft. azure. sdk. iot. service. ExportImportDevice
- com.
public class ExportImportDevice
Constructor Summary
Constructor | Description |
---|---|
ExportImportDevice() |
Default constructor for an Export |
ExportImportDevice(String deviceId, AuthenticationType authenticationType) |
Constructor for an Export |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
ExportImportDevice
public ExportImportDevice()
Default constructor for an ExportImportDevice object. Randomly generates a device ID and uses a randomly generated shared access signature for authentication
ExportImportDevice
public ExportImportDevice(String deviceId, AuthenticationType authenticationType)
Constructor for an ExportImportDevice object.
Parameters:
Throws:
Method Details
equals
public boolean equals(Object other)
Overrides:
ExportImportDevice.equals(Object other)Parameters:
getAuthenticationFinal
public AuthenticationMechanism getAuthenticationFinal()
Getter for device authentication mechanism.
Returns:
getDesiredProperties
public TwinCollection getDesiredProperties()
Returns:
getId
public String getId()
Getter for device id.
Returns:
getImportMode
public ImportMode getImportMode()
Getter for device import mode.
Returns:
getReportedProperties
public TwinCollection getReportedProperties()
Returns:
getStatus
public DeviceStatus getStatus()
Getter for device status.
Returns:
getStatusReason
public String getStatusReason()
Getter for device status reason.
Returns:
getTags
public TwinCollection getTags()
Returns:
geteTag
public String geteTag()
Getter for device eTag.
Returns:
hashCode
public int hashCode()
Overrides:
ExportImportDevice.hashCode()setAuthentication
public void setAuthentication(AuthenticationMechanism authentication)
Setter for device authentication mechanism.
Parameters:
Throws:
setDesiredProperties
public void setDesiredProperties(TwinCollection desiredProperties)
Parameters:
setId
public void setId(String id)
Setter for device id.
Parameters:
Throws:
setImportMode
public void setImportMode(ImportMode importMode)
Setter for device import mode.
Parameters:
setReportedProperties
public void setReportedProperties(TwinCollection reportedProperties)
Parameters:
setStatus
public void setStatus(DeviceStatus status)
Setter for device status.
Parameters:
setStatusReason
public void setStatusReason(String statusReason)
Setter for device status reason.
Parameters:
setTags
public void setTags(TwinCollection tags)
Parameters:
seteTag
public void seteTag(String eTag)
Setter for device eTag.
Parameters: