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 |
getAuthentication()
Getter for device authentication mechanism.
|
String |
geteTag()
Getter for device eTag.
|
String |
getId()
Getter for device id.
|
ImportMode |
getImportMode()
Getter for device import mode.
|
DeviceStatus |
getStatus()
Getter for device status.
|
String |
getStatusReason()
Getter for device status reason.
|
int |
hashCode() |
void |
setAuthentication(AuthenticationMechanism authentication)
Setter for device authentication mechanism.
|
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 |
setStatus(DeviceStatus status)
Setter for device status.
|
void |
setStatusReason(String statusReason)
Setter for device status reason.
|
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 getAuthentication()
public void setAuthentication(AuthenticationMechanism authentication) throws IllegalArgumentException
authentication - The device authentication mechanism.IllegalArgumentException - if the provided authentication is nullCopyright © 2017. All rights reserved.