@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceStatusInfo extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about a device's status.
Constructor and Description |
---|
DeviceStatusInfo() |
Modifier and Type | Method and Description |
---|---|
DeviceStatusInfo |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionStatus()
The latest available information about the connection status of a device.
|
Date |
getConnectionStatusUpdatedTime()
The time (in epoch) when the device connection status changed.
|
List<DeviceStatusDetail> |
getDeviceStatusDetails()
One or more device status detail descriptions.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionStatus(String connectionStatus)
The latest available information about the connection status of a device.
|
void |
setConnectionStatusUpdatedTime(Date connectionStatusUpdatedTime)
The time (in epoch) when the device connection status changed.
|
void |
setDeviceStatusDetails(Collection<DeviceStatusDetail> deviceStatusDetails)
One or more device status detail descriptions.
|
String |
toString()
Returns a string representation of this object.
|
DeviceStatusInfo |
withConnectionStatus(ConnectionStatus connectionStatus)
The latest available information about the connection status of a device.
|
DeviceStatusInfo |
withConnectionStatus(String connectionStatus)
The latest available information about the connection status of a device.
|
DeviceStatusInfo |
withConnectionStatusUpdatedTime(Date connectionStatusUpdatedTime)
The time (in epoch) when the device connection status changed.
|
DeviceStatusInfo |
withDeviceStatusDetails(Collection<DeviceStatusDetail> deviceStatusDetails)
One or more device status detail descriptions.
|
DeviceStatusInfo |
withDeviceStatusDetails(DeviceStatusDetail... deviceStatusDetails)
One or more device status detail descriptions.
|
public List<DeviceStatusDetail> getDeviceStatusDetails()
One or more device status detail descriptions.
public void setDeviceStatusDetails(Collection<DeviceStatusDetail> deviceStatusDetails)
One or more device status detail descriptions.
deviceStatusDetails
- One or more device status detail descriptions.public DeviceStatusInfo withDeviceStatusDetails(DeviceStatusDetail... deviceStatusDetails)
One or more device status detail descriptions.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceStatusDetails(java.util.Collection)
or withDeviceStatusDetails(java.util.Collection)
if you want to override the existing values.
deviceStatusDetails
- One or more device status detail descriptions.public DeviceStatusInfo withDeviceStatusDetails(Collection<DeviceStatusDetail> deviceStatusDetails)
One or more device status detail descriptions.
deviceStatusDetails
- One or more device status detail descriptions.public void setConnectionStatus(String connectionStatus)
The latest available information about the connection status of a device.
connectionStatus
- The latest available information about the connection status of a device.ConnectionStatus
public String getConnectionStatus()
The latest available information about the connection status of a device.
ConnectionStatus
public DeviceStatusInfo withConnectionStatus(String connectionStatus)
The latest available information about the connection status of a device.
connectionStatus
- The latest available information about the connection status of a device.ConnectionStatus
public DeviceStatusInfo withConnectionStatus(ConnectionStatus connectionStatus)
The latest available information about the connection status of a device.
connectionStatus
- The latest available information about the connection status of a device.ConnectionStatus
public void setConnectionStatusUpdatedTime(Date connectionStatusUpdatedTime)
The time (in epoch) when the device connection status changed.
connectionStatusUpdatedTime
- The time (in epoch) when the device connection status changed.public Date getConnectionStatusUpdatedTime()
The time (in epoch) when the device connection status changed.
public DeviceStatusInfo withConnectionStatusUpdatedTime(Date connectionStatusUpdatedTime)
The time (in epoch) when the device connection status changed.
connectionStatusUpdatedTime
- The time (in epoch) when the device connection status changed.public String toString()
toString
in class Object
Object.toString()
public DeviceStatusInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.