@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeviceStats extends Object implements Serializable, Cloneable, StructuredPojo
Status of devices.
Constructor and Description |
---|
DeviceStats() |
Modifier and Type | Method and Description |
---|---|
DeviceStats |
clone() |
boolean |
equals(Object obj) |
Long |
getConnectedDeviceCount()
The number of devices connected with a heartbeat.
|
Long |
getRegisteredDeviceCount()
The number of registered devices.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectedDeviceCount(Long connectedDeviceCount)
The number of devices connected with a heartbeat.
|
void |
setRegisteredDeviceCount(Long registeredDeviceCount)
The number of registered devices.
|
String |
toString()
Returns a string representation of this object.
|
DeviceStats |
withConnectedDeviceCount(Long connectedDeviceCount)
The number of devices connected with a heartbeat.
|
DeviceStats |
withRegisteredDeviceCount(Long registeredDeviceCount)
The number of registered devices.
|
public void setConnectedDeviceCount(Long connectedDeviceCount)
The number of devices connected with a heartbeat.
connectedDeviceCount
- The number of devices connected with a heartbeat.public Long getConnectedDeviceCount()
The number of devices connected with a heartbeat.
public DeviceStats withConnectedDeviceCount(Long connectedDeviceCount)
The number of devices connected with a heartbeat.
connectedDeviceCount
- The number of devices connected with a heartbeat.public void setRegisteredDeviceCount(Long registeredDeviceCount)
The number of registered devices.
registeredDeviceCount
- The number of registered devices.public Long getRegisteredDeviceCount()
The number of registered devices.
public DeviceStats withRegisteredDeviceCount(Long registeredDeviceCount)
The number of registered devices.
registeredDeviceCount
- The number of registered devices.public String toString()
toString
in class Object
Object.toString()
public DeviceStats clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.