@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDeviceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDeviceResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDeviceResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DescribeDeviceResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DescribeDeviceResult |
clone() |
boolean |
equals(Object obj) |
List<AlternateSoftwareMetadata> |
getAlternateSoftwares()
Beta software releases available for the device.
|
String |
getArn()
The device's ARN.
|
String |
getBrand()
The device's maker.
|
Date |
getCreatedTime()
When the device was created.
|
NetworkStatus |
getCurrentNetworkingStatus()
The device's networking status.
|
String |
getCurrentSoftware()
The device's current software version.
|
String |
getDescription()
The device's description.
|
String |
getDeviceAggregatedStatus()
A device's aggregated status.
|
String |
getDeviceConnectionStatus()
The device's connection status.
|
String |
getDeviceId()
The device's ID.
|
String |
getLatestAlternateSoftware()
The most recent beta software release.
|
LatestDeviceJob |
getLatestDeviceJob()
A device's latest job.
|
String |
getLatestSoftware()
The latest software version available for the device.
|
Date |
getLeaseExpirationTime()
The device's lease expiration time.
|
String |
getName()
The device's name.
|
NetworkPayload |
getNetworkingConfiguration()
The device's networking configuration.
|
String |
getProvisioningStatus()
The device's provisioning status.
|
String |
getSerialNumber()
The device's serial number.
|
Map<String,String> |
getTags()
The device's tags.
|
String |
getType()
The device's type.
|
int |
hashCode() |
void |
setAlternateSoftwares(Collection<AlternateSoftwareMetadata> alternateSoftwares)
Beta software releases available for the device.
|
void |
setArn(String arn)
The device's ARN.
|
void |
setBrand(String brand)
The device's maker.
|
void |
setCreatedTime(Date createdTime)
When the device was created.
|
void |
setCurrentNetworkingStatus(NetworkStatus currentNetworkingStatus)
The device's networking status.
|
void |
setCurrentSoftware(String currentSoftware)
The device's current software version.
|
void |
setDescription(String description)
The device's description.
|
void |
setDeviceAggregatedStatus(String deviceAggregatedStatus)
A device's aggregated status.
|
void |
setDeviceConnectionStatus(String deviceConnectionStatus)
The device's connection status.
|
void |
setDeviceId(String deviceId)
The device's ID.
|
void |
setLatestAlternateSoftware(String latestAlternateSoftware)
The most recent beta software release.
|
void |
setLatestDeviceJob(LatestDeviceJob latestDeviceJob)
A device's latest job.
|
void |
setLatestSoftware(String latestSoftware)
The latest software version available for the device.
|
void |
setLeaseExpirationTime(Date leaseExpirationTime)
The device's lease expiration time.
|
void |
setName(String name)
The device's name.
|
void |
setNetworkingConfiguration(NetworkPayload networkingConfiguration)
The device's networking configuration.
|
void |
setProvisioningStatus(String provisioningStatus)
The device's provisioning status.
|
void |
setSerialNumber(String serialNumber)
The device's serial number.
|
void |
setTags(Map<String,String> tags)
The device's tags.
|
void |
setType(String type)
The device's type.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDeviceResult |
withAlternateSoftwares(AlternateSoftwareMetadata... alternateSoftwares)
Beta software releases available for the device.
|
DescribeDeviceResult |
withAlternateSoftwares(Collection<AlternateSoftwareMetadata> alternateSoftwares)
Beta software releases available for the device.
|
DescribeDeviceResult |
withArn(String arn)
The device's ARN.
|
DescribeDeviceResult |
withBrand(DeviceBrand brand)
The device's maker.
|
DescribeDeviceResult |
withBrand(String brand)
The device's maker.
|
DescribeDeviceResult |
withCreatedTime(Date createdTime)
When the device was created.
|
DescribeDeviceResult |
withCurrentNetworkingStatus(NetworkStatus currentNetworkingStatus)
The device's networking status.
|
DescribeDeviceResult |
withCurrentSoftware(String currentSoftware)
The device's current software version.
|
DescribeDeviceResult |
withDescription(String description)
The device's description.
|
DescribeDeviceResult |
withDeviceAggregatedStatus(DeviceAggregatedStatus deviceAggregatedStatus)
A device's aggregated status.
|
DescribeDeviceResult |
withDeviceAggregatedStatus(String deviceAggregatedStatus)
A device's aggregated status.
|
DescribeDeviceResult |
withDeviceConnectionStatus(DeviceConnectionStatus deviceConnectionStatus)
The device's connection status.
|
DescribeDeviceResult |
withDeviceConnectionStatus(String deviceConnectionStatus)
The device's connection status.
|
DescribeDeviceResult |
withDeviceId(String deviceId)
The device's ID.
|
DescribeDeviceResult |
withLatestAlternateSoftware(String latestAlternateSoftware)
The most recent beta software release.
|
DescribeDeviceResult |
withLatestDeviceJob(LatestDeviceJob latestDeviceJob)
A device's latest job.
|
DescribeDeviceResult |
withLatestSoftware(String latestSoftware)
The latest software version available for the device.
|
DescribeDeviceResult |
withLeaseExpirationTime(Date leaseExpirationTime)
The device's lease expiration time.
|
DescribeDeviceResult |
withName(String name)
The device's name.
|
DescribeDeviceResult |
withNetworkingConfiguration(NetworkPayload networkingConfiguration)
The device's networking configuration.
|
DescribeDeviceResult |
withProvisioningStatus(DeviceStatus provisioningStatus)
The device's provisioning status.
|
DescribeDeviceResult |
withProvisioningStatus(String provisioningStatus)
The device's provisioning status.
|
DescribeDeviceResult |
withSerialNumber(String serialNumber)
The device's serial number.
|
DescribeDeviceResult |
withTags(Map<String,String> tags)
The device's tags.
|
DescribeDeviceResult |
withType(DeviceType type)
The device's type.
|
DescribeDeviceResult |
withType(String type)
The device's type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AlternateSoftwareMetadata> getAlternateSoftwares()
Beta software releases available for the device.
public void setAlternateSoftwares(Collection<AlternateSoftwareMetadata> alternateSoftwares)
Beta software releases available for the device.
alternateSoftwares
- Beta software releases available for the device.public DescribeDeviceResult withAlternateSoftwares(AlternateSoftwareMetadata... alternateSoftwares)
Beta software releases available for the device.
NOTE: This method appends the values to the existing list (if any). Use
setAlternateSoftwares(java.util.Collection)
or withAlternateSoftwares(java.util.Collection)
if
you want to override the existing values.
alternateSoftwares
- Beta software releases available for the device.public DescribeDeviceResult withAlternateSoftwares(Collection<AlternateSoftwareMetadata> alternateSoftwares)
Beta software releases available for the device.
alternateSoftwares
- Beta software releases available for the device.public void setArn(String arn)
The device's ARN.
arn
- The device's ARN.public String getArn()
The device's ARN.
public DescribeDeviceResult withArn(String arn)
The device's ARN.
arn
- The device's ARN.public void setBrand(String brand)
The device's maker.
brand
- The device's maker.DeviceBrand
public String getBrand()
The device's maker.
DeviceBrand
public DescribeDeviceResult withBrand(String brand)
The device's maker.
brand
- The device's maker.DeviceBrand
public DescribeDeviceResult withBrand(DeviceBrand brand)
The device's maker.
brand
- The device's maker.DeviceBrand
public void setCreatedTime(Date createdTime)
When the device was created.
createdTime
- When the device was created.public Date getCreatedTime()
When the device was created.
public DescribeDeviceResult withCreatedTime(Date createdTime)
When the device was created.
createdTime
- When the device was created.public void setCurrentNetworkingStatus(NetworkStatus currentNetworkingStatus)
The device's networking status.
currentNetworkingStatus
- The device's networking status.public NetworkStatus getCurrentNetworkingStatus()
The device's networking status.
public DescribeDeviceResult withCurrentNetworkingStatus(NetworkStatus currentNetworkingStatus)
The device's networking status.
currentNetworkingStatus
- The device's networking status.public void setCurrentSoftware(String currentSoftware)
The device's current software version.
currentSoftware
- The device's current software version.public String getCurrentSoftware()
The device's current software version.
public DescribeDeviceResult withCurrentSoftware(String currentSoftware)
The device's current software version.
currentSoftware
- The device's current software version.public void setDescription(String description)
The device's description.
description
- The device's description.public String getDescription()
The device's description.
public DescribeDeviceResult withDescription(String description)
The device's description.
description
- The device's description.public void setDeviceAggregatedStatus(String deviceAggregatedStatus)
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
deviceAggregatedStatus
- A device's aggregated status. Including the device's connection status, provisioning status, and lease
status.DeviceAggregatedStatus
public String getDeviceAggregatedStatus()
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
DeviceAggregatedStatus
public DescribeDeviceResult withDeviceAggregatedStatus(String deviceAggregatedStatus)
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
deviceAggregatedStatus
- A device's aggregated status. Including the device's connection status, provisioning status, and lease
status.DeviceAggregatedStatus
public DescribeDeviceResult withDeviceAggregatedStatus(DeviceAggregatedStatus deviceAggregatedStatus)
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
deviceAggregatedStatus
- A device's aggregated status. Including the device's connection status, provisioning status, and lease
status.DeviceAggregatedStatus
public void setDeviceConnectionStatus(String deviceConnectionStatus)
The device's connection status.
deviceConnectionStatus
- The device's connection status.DeviceConnectionStatus
public String getDeviceConnectionStatus()
The device's connection status.
DeviceConnectionStatus
public DescribeDeviceResult withDeviceConnectionStatus(String deviceConnectionStatus)
The device's connection status.
deviceConnectionStatus
- The device's connection status.DeviceConnectionStatus
public DescribeDeviceResult withDeviceConnectionStatus(DeviceConnectionStatus deviceConnectionStatus)
The device's connection status.
deviceConnectionStatus
- The device's connection status.DeviceConnectionStatus
public void setDeviceId(String deviceId)
The device's ID.
deviceId
- The device's ID.public String getDeviceId()
The device's ID.
public DescribeDeviceResult withDeviceId(String deviceId)
The device's ID.
deviceId
- The device's ID.public void setLatestAlternateSoftware(String latestAlternateSoftware)
The most recent beta software release.
latestAlternateSoftware
- The most recent beta software release.public String getLatestAlternateSoftware()
The most recent beta software release.
public DescribeDeviceResult withLatestAlternateSoftware(String latestAlternateSoftware)
The most recent beta software release.
latestAlternateSoftware
- The most recent beta software release.public void setLatestDeviceJob(LatestDeviceJob latestDeviceJob)
A device's latest job. Includes the target image version, and the job status.
latestDeviceJob
- A device's latest job. Includes the target image version, and the job status.public LatestDeviceJob getLatestDeviceJob()
A device's latest job. Includes the target image version, and the job status.
public DescribeDeviceResult withLatestDeviceJob(LatestDeviceJob latestDeviceJob)
A device's latest job. Includes the target image version, and the job status.
latestDeviceJob
- A device's latest job. Includes the target image version, and the job status.public void setLatestSoftware(String latestSoftware)
The latest software version available for the device.
latestSoftware
- The latest software version available for the device.public String getLatestSoftware()
The latest software version available for the device.
public DescribeDeviceResult withLatestSoftware(String latestSoftware)
The latest software version available for the device.
latestSoftware
- The latest software version available for the device.public void setLeaseExpirationTime(Date leaseExpirationTime)
The device's lease expiration time.
leaseExpirationTime
- The device's lease expiration time.public Date getLeaseExpirationTime()
The device's lease expiration time.
public DescribeDeviceResult withLeaseExpirationTime(Date leaseExpirationTime)
The device's lease expiration time.
leaseExpirationTime
- The device's lease expiration time.public void setName(String name)
The device's name.
name
- The device's name.public String getName()
The device's name.
public DescribeDeviceResult withName(String name)
The device's name.
name
- The device's name.public void setNetworkingConfiguration(NetworkPayload networkingConfiguration)
The device's networking configuration.
networkingConfiguration
- The device's networking configuration.public NetworkPayload getNetworkingConfiguration()
The device's networking configuration.
public DescribeDeviceResult withNetworkingConfiguration(NetworkPayload networkingConfiguration)
The device's networking configuration.
networkingConfiguration
- The device's networking configuration.public void setProvisioningStatus(String provisioningStatus)
The device's provisioning status.
provisioningStatus
- The device's provisioning status.DeviceStatus
public String getProvisioningStatus()
The device's provisioning status.
DeviceStatus
public DescribeDeviceResult withProvisioningStatus(String provisioningStatus)
The device's provisioning status.
provisioningStatus
- The device's provisioning status.DeviceStatus
public DescribeDeviceResult withProvisioningStatus(DeviceStatus provisioningStatus)
The device's provisioning status.
provisioningStatus
- The device's provisioning status.DeviceStatus
public void setSerialNumber(String serialNumber)
The device's serial number.
serialNumber
- The device's serial number.public String getSerialNumber()
The device's serial number.
public DescribeDeviceResult withSerialNumber(String serialNumber)
The device's serial number.
serialNumber
- The device's serial number.public void setTags(Map<String,String> tags)
The device's tags.
tags
- The device's tags.public DescribeDeviceResult withTags(Map<String,String> tags)
The device's tags.
tags
- The device's tags.public DescribeDeviceResult addTagsEntry(String key, String value)
public DescribeDeviceResult clearTagsEntries()
public void setType(String type)
The device's type.
type
- The device's type.DeviceType
public String getType()
The device's type.
DeviceType
public DescribeDeviceResult withType(String type)
The device's type.
type
- The device's type.DeviceType
public DescribeDeviceResult withType(DeviceType type)
The device's type.
type
- The device's type.DeviceType
public String toString()
toString
in class Object
Object.toString()
public DescribeDeviceResult clone()