@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceInstance extends Object implements Serializable, Cloneable, StructuredPojo
Represents the device instance.
Constructor and Description |
---|
DeviceInstance() |
Modifier and Type | Method and Description |
---|---|
DeviceInstance |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the device instance.
|
String |
getDeviceArn()
The ARN of the device.
|
InstanceProfile |
getInstanceProfile()
A object that contains information about the instance profile.
|
List<String> |
getLabels()
An array of strings that describe the device instance.
|
String |
getStatus()
The status of the device instance.
|
String |
getUdid()
Unique device identifier for the device instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the device instance.
|
void |
setDeviceArn(String deviceArn)
The ARN of the device.
|
void |
setInstanceProfile(InstanceProfile instanceProfile)
A object that contains information about the instance profile.
|
void |
setLabels(Collection<String> labels)
An array of strings that describe the device instance.
|
void |
setStatus(String status)
The status of the device instance.
|
void |
setUdid(String udid)
Unique device identifier for the device instance.
|
String |
toString()
Returns a string representation of this object.
|
DeviceInstance |
withArn(String arn)
The Amazon Resource Name (ARN) of the device instance.
|
DeviceInstance |
withDeviceArn(String deviceArn)
The ARN of the device.
|
DeviceInstance |
withInstanceProfile(InstanceProfile instanceProfile)
A object that contains information about the instance profile.
|
DeviceInstance |
withLabels(Collection<String> labels)
An array of strings that describe the device instance.
|
DeviceInstance |
withLabels(String... labels)
An array of strings that describe the device instance.
|
DeviceInstance |
withStatus(InstanceStatus status)
The status of the device instance.
|
DeviceInstance |
withStatus(String status)
The status of the device instance.
|
DeviceInstance |
withUdid(String udid)
Unique device identifier for the device instance.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the device instance.
arn
- The Amazon Resource Name (ARN) of the device instance.public String getArn()
The Amazon Resource Name (ARN) of the device instance.
public DeviceInstance withArn(String arn)
The Amazon Resource Name (ARN) of the device instance.
arn
- The Amazon Resource Name (ARN) of the device instance.public void setDeviceArn(String deviceArn)
The ARN of the device.
deviceArn
- The ARN of the device.public String getDeviceArn()
The ARN of the device.
public DeviceInstance withDeviceArn(String deviceArn)
The ARN of the device.
deviceArn
- The ARN of the device.public List<String> getLabels()
An array of strings that describe the device instance.
public void setLabels(Collection<String> labels)
An array of strings that describe the device instance.
labels
- An array of strings that describe the device instance.public DeviceInstance withLabels(String... labels)
An array of strings that describe the device instance.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- An array of strings that describe the device instance.public DeviceInstance withLabels(Collection<String> labels)
An array of strings that describe the device instance.
labels
- An array of strings that describe the device instance.public void setStatus(String status)
The status of the device instance. Valid values are listed here.
status
- The status of the device instance. Valid values are listed here.InstanceStatus
public String getStatus()
The status of the device instance. Valid values are listed here.
InstanceStatus
public DeviceInstance withStatus(String status)
The status of the device instance. Valid values are listed here.
status
- The status of the device instance. Valid values are listed here.InstanceStatus
public DeviceInstance withStatus(InstanceStatus status)
The status of the device instance. Valid values are listed here.
status
- The status of the device instance. Valid values are listed here.InstanceStatus
public void setUdid(String udid)
Unique device identifier for the device instance.
udid
- Unique device identifier for the device instance.public String getUdid()
Unique device identifier for the device instance.
public DeviceInstance withUdid(String udid)
Unique device identifier for the device instance.
udid
- Unique device identifier for the device instance.public void setInstanceProfile(InstanceProfile instanceProfile)
A object that contains information about the instance profile.
instanceProfile
- A object that contains information about the instance profile.public InstanceProfile getInstanceProfile()
A object that contains information about the instance profile.
public DeviceInstance withInstanceProfile(InstanceProfile instanceProfile)
A object that contains information about the instance profile.
instanceProfile
- A object that contains information about the instance profile.public String toString()
toString
in class Object
Object.toString()
public DeviceInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.