@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
Describes a thin client device.
Constructor and Description |
---|
Device() |
Modifier and Type | Method and Description |
---|---|
Device |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Device |
clearTagsEntries()
Removes all the entries added into Tags.
|
Device |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the device.
|
Date |
getCreatedAt()
The timestamp of when the device was created.
|
String |
getCurrentSoftwareSetId()
The ID of the software set currently installed on the device.
|
String |
getCurrentSoftwareSetVersion()
The version of the software set currently installed on the device.
|
String |
getDesiredSoftwareSetId()
The ID of the software set which the device has been set to.
|
String |
getEnvironmentId()
The ID of the environment the device is associated with.
|
String |
getId()
The ID of the device.
|
String |
getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.
|
Date |
getLastConnectedAt()
The timestamp of the most recent session on the device.
|
Date |
getLastPostureAt()
The timestamp of the most recent check-in of the device.
|
String |
getModel()
The model number of the device.
|
String |
getName()
The name of the device.
|
String |
getPendingSoftwareSetId()
The ID of the software set that is pending to be installed on the device.
|
String |
getPendingSoftwareSetVersion()
The version of the software set that is pending to be installed on the device.
|
String |
getSerialNumber()
The hardware serial number of the device.
|
String |
getSoftwareSetComplianceStatus()
Describes if the software currently installed on the device is a supported version.
|
String |
getSoftwareSetUpdateSchedule()
An option to define if software updates should be applied within a maintenance window.
|
String |
getSoftwareSetUpdateStatus()
Describes if the device has a supported version of software installed.
|
String |
getStatus()
The status of the device.
|
Map<String,String> |
getTags()
The tag keys and optional values for the resource.
|
Date |
getUpdatedAt()
The timestamp of when the device was updated.
|
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.
|
void |
setCreatedAt(Date createdAt)
The timestamp of when the device was created.
|
void |
setCurrentSoftwareSetId(String currentSoftwareSetId)
The ID of the software set currently installed on the device.
|
void |
setCurrentSoftwareSetVersion(String currentSoftwareSetVersion)
The version of the software set currently installed on the device.
|
void |
setDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set which the device has been set to.
|
void |
setEnvironmentId(String environmentId)
The ID of the environment the device is associated with.
|
void |
setId(String id)
The ID of the device.
|
void |
setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.
|
void |
setLastConnectedAt(Date lastConnectedAt)
The timestamp of the most recent session on the device.
|
void |
setLastPostureAt(Date lastPostureAt)
The timestamp of the most recent check-in of the device.
|
void |
setModel(String model)
The model number of the device.
|
void |
setName(String name)
The name of the device.
|
void |
setPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed on the device.
|
void |
setPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed on the device.
|
void |
setSerialNumber(String serialNumber)
The hardware serial number of the device.
|
void |
setSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on the device is a supported version.
|
void |
setSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
void |
setSoftwareSetUpdateStatus(String softwareSetUpdateStatus)
Describes if the device has a supported version of software installed.
|
void |
setStatus(String status)
The status of the device.
|
void |
setTags(Map<String,String> tags)
The tag keys and optional values for the resource.
|
void |
setUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
|
String |
toString()
Returns a string representation of this object.
|
Device |
withArn(String arn)
The Amazon Resource Name (ARN) of the device.
|
Device |
withCreatedAt(Date createdAt)
The timestamp of when the device was created.
|
Device |
withCurrentSoftwareSetId(String currentSoftwareSetId)
The ID of the software set currently installed on the device.
|
Device |
withCurrentSoftwareSetVersion(String currentSoftwareSetVersion)
The version of the software set currently installed on the device.
|
Device |
withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set which the device has been set to.
|
Device |
withEnvironmentId(String environmentId)
The ID of the environment the device is associated with.
|
Device |
withId(String id)
The ID of the device.
|
Device |
withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.
|
Device |
withLastConnectedAt(Date lastConnectedAt)
The timestamp of the most recent session on the device.
|
Device |
withLastPostureAt(Date lastPostureAt)
The timestamp of the most recent check-in of the device.
|
Device |
withModel(String model)
The model number of the device.
|
Device |
withName(String name)
The name of the device.
|
Device |
withPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed on the device.
|
Device |
withPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed on the device.
|
Device |
withSerialNumber(String serialNumber)
The hardware serial number of the device.
|
Device |
withSoftwareSetComplianceStatus(DeviceSoftwareSetComplianceStatus softwareSetComplianceStatus)
Describes if the software currently installed on the device is a supported version.
|
Device |
withSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on the device is a supported version.
|
Device |
withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
Device |
withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
|
Device |
withSoftwareSetUpdateStatus(SoftwareSetUpdateStatus softwareSetUpdateStatus)
Describes if the device has a supported version of software installed.
|
Device |
withSoftwareSetUpdateStatus(String softwareSetUpdateStatus)
Describes if the device has a supported version of software installed.
|
Device |
withStatus(DeviceStatus status)
The status of the device.
|
Device |
withStatus(String status)
The status of the device.
|
Device |
withTags(Map<String,String> tags)
The tag keys and optional values for the resource.
|
Device |
withUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
|
public void setId(String id)
The ID of the device.
id
- The ID of the device.public String getId()
The ID of the device.
public Device withId(String id)
The ID of the device.
id
- The ID of the device.public void setSerialNumber(String serialNumber)
The hardware serial number of the device.
serialNumber
- The hardware serial number of the device.public String getSerialNumber()
The hardware serial number of the device.
public Device withSerialNumber(String serialNumber)
The hardware serial number of the device.
serialNumber
- The hardware serial number of the device.public void setName(String name)
The name of the device.
name
- The name of the device.public String getName()
The name of the device.
public Device withName(String name)
The name of the device.
name
- The name of the device.public void setModel(String model)
The model number of the device.
model
- The model number of the device.public String getModel()
The model number of the device.
public Device withModel(String model)
The model number of the device.
model
- The model number of the device.public void setEnvironmentId(String environmentId)
The ID of the environment the device is associated with.
environmentId
- The ID of the environment the device is associated with.public String getEnvironmentId()
The ID of the environment the device is associated with.
public Device withEnvironmentId(String environmentId)
The ID of the environment the device is associated with.
environmentId
- The ID of the environment the device is associated with.public void setStatus(String status)
The status of the device.
status
- The status of the device.DeviceStatus
public String getStatus()
The status of the device.
DeviceStatus
public Device withStatus(String status)
The status of the device.
status
- The status of the device.DeviceStatus
public Device withStatus(DeviceStatus status)
The status of the device.
status
- The status of the device.DeviceStatus
public void setCurrentSoftwareSetId(String currentSoftwareSetId)
The ID of the software set currently installed on the device.
currentSoftwareSetId
- The ID of the software set currently installed on the device.public String getCurrentSoftwareSetId()
The ID of the software set currently installed on the device.
public Device withCurrentSoftwareSetId(String currentSoftwareSetId)
The ID of the software set currently installed on the device.
currentSoftwareSetId
- The ID of the software set currently installed on the device.public void setCurrentSoftwareSetVersion(String currentSoftwareSetVersion)
The version of the software set currently installed on the device.
currentSoftwareSetVersion
- The version of the software set currently installed on the device.public String getCurrentSoftwareSetVersion()
The version of the software set currently installed on the device.
public Device withCurrentSoftwareSetVersion(String currentSoftwareSetVersion)
The version of the software set currently installed on the device.
currentSoftwareSetVersion
- The version of the software set currently installed on the device.public void setDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set which the device has been set to.
desiredSoftwareSetId
- The ID of the software set which the device has been set to.public String getDesiredSoftwareSetId()
The ID of the software set which the device has been set to.
public Device withDesiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set which the device has been set to.
desiredSoftwareSetId
- The ID of the software set which the device has been set to.public void setPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed on the device.
pendingSoftwareSetId
- The ID of the software set that is pending to be installed on the device.public String getPendingSoftwareSetId()
The ID of the software set that is pending to be installed on the device.
public Device withPendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed on the device.
pendingSoftwareSetId
- The ID of the software set that is pending to be installed on the device.public void setPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed on the device.
pendingSoftwareSetVersion
- The version of the software set that is pending to be installed on the device.public String getPendingSoftwareSetVersion()
The version of the software set that is pending to be installed on the device.
public Device withPendingSoftwareSetVersion(String pendingSoftwareSetVersion)
The version of the software set that is pending to be installed on the device.
pendingSoftwareSetVersion
- The version of the software set that is pending to be installed on the device.public void setSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public String getSoftwareSetUpdateSchedule()
An option to define if software updates should be applied within a maintenance window.
SoftwareSetUpdateSchedule
public Device withSoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public Device withSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
softwareSetUpdateSchedule
- An option to define if software updates should be applied within a maintenance window.SoftwareSetUpdateSchedule
public void setSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on the device is a supported version.
softwareSetComplianceStatus
- Describes if the software currently installed on the device is a supported version.DeviceSoftwareSetComplianceStatus
public String getSoftwareSetComplianceStatus()
Describes if the software currently installed on the device is a supported version.
DeviceSoftwareSetComplianceStatus
public Device withSoftwareSetComplianceStatus(String softwareSetComplianceStatus)
Describes if the software currently installed on the device is a supported version.
softwareSetComplianceStatus
- Describes if the software currently installed on the device is a supported version.DeviceSoftwareSetComplianceStatus
public Device withSoftwareSetComplianceStatus(DeviceSoftwareSetComplianceStatus softwareSetComplianceStatus)
Describes if the software currently installed on the device is a supported version.
softwareSetComplianceStatus
- Describes if the software currently installed on the device is a supported version.DeviceSoftwareSetComplianceStatus
public void setSoftwareSetUpdateStatus(String softwareSetUpdateStatus)
Describes if the device has a supported version of software installed.
softwareSetUpdateStatus
- Describes if the device has a supported version of software installed.SoftwareSetUpdateStatus
public String getSoftwareSetUpdateStatus()
Describes if the device has a supported version of software installed.
SoftwareSetUpdateStatus
public Device withSoftwareSetUpdateStatus(String softwareSetUpdateStatus)
Describes if the device has a supported version of software installed.
softwareSetUpdateStatus
- Describes if the device has a supported version of software installed.SoftwareSetUpdateStatus
public Device withSoftwareSetUpdateStatus(SoftwareSetUpdateStatus softwareSetUpdateStatus)
Describes if the device has a supported version of software installed.
softwareSetUpdateStatus
- Describes if the device has a supported version of software installed.SoftwareSetUpdateStatus
public void setLastConnectedAt(Date lastConnectedAt)
The timestamp of the most recent session on the device.
lastConnectedAt
- The timestamp of the most recent session on the device.public Date getLastConnectedAt()
The timestamp of the most recent session on the device.
public Device withLastConnectedAt(Date lastConnectedAt)
The timestamp of the most recent session on the device.
lastConnectedAt
- The timestamp of the most recent session on the device.public void setLastPostureAt(Date lastPostureAt)
The timestamp of the most recent check-in of the device.
lastPostureAt
- The timestamp of the most recent check-in of the device.public Date getLastPostureAt()
The timestamp of the most recent check-in of the device.
public Device withLastPostureAt(Date lastPostureAt)
The timestamp of the most recent check-in of the device.
lastPostureAt
- The timestamp of the most recent check-in of the device.public void setCreatedAt(Date createdAt)
The timestamp of when the device was created.
createdAt
- The timestamp of when the device was created.public Date getCreatedAt()
The timestamp of when the device was created.
public Device withCreatedAt(Date createdAt)
The timestamp of when the device was created.
createdAt
- The timestamp of when the device was created.public void setUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
updatedAt
- The timestamp of when the device was updated.public Date getUpdatedAt()
The timestamp of when the device was updated.
public Device withUpdatedAt(Date updatedAt)
The timestamp of when the device was updated.
updatedAt
- The timestamp of when the device was updated.public void setArn(String arn)
The Amazon Resource Name (ARN) of the device.
arn
- The Amazon Resource Name (ARN) of the device.public String getArn()
The Amazon Resource Name (ARN) of the device.
public Device withArn(String arn)
The Amazon Resource Name (ARN) of the device.
arn
- The Amazon Resource Name (ARN) of the device.public void setKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.public String getKmsKeyArn()
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.
public Device withKmsKeyArn(String kmsKeyArn)
The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.
kmsKeyArn
- The Amazon Resource Name (ARN) of the Key Management Service key used to encrypt the device.public Map<String,String> getTags()
The tag keys and optional values for the resource.
public void setTags(Map<String,String> tags)
The tag keys and optional values for the resource.
tags
- The tag keys and optional values for the resource.public Device withTags(Map<String,String> tags)
The tag keys and optional values for the resource.
tags
- The tag keys and optional values for the resource.public Device clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.