@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SidewalkDeviceMetadata extends Object implements Serializable, Cloneable, StructuredPojo
MetaData for Sidewalk device.
| Constructor and Description |
|---|
SidewalkDeviceMetadata() |
| Modifier and Type | Method and Description |
|---|---|
SidewalkDeviceMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getBatteryLevel()
Sidewalk device battery level.
|
String |
getDeviceState()
Device state defines the device status of sidewalk device.
|
String |
getEvent()
Sidewalk device status notification.
|
Integer |
getRssi()
The RSSI value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBatteryLevel(String batteryLevel)
Sidewalk device battery level.
|
void |
setDeviceState(String deviceState)
Device state defines the device status of sidewalk device.
|
void |
setEvent(String event)
Sidewalk device status notification.
|
void |
setRssi(Integer rssi)
The RSSI value.
|
String |
toString()
Returns a string representation of this object.
|
SidewalkDeviceMetadata |
withBatteryLevel(BatteryLevel batteryLevel)
Sidewalk device battery level.
|
SidewalkDeviceMetadata |
withBatteryLevel(String batteryLevel)
Sidewalk device battery level.
|
SidewalkDeviceMetadata |
withDeviceState(DeviceState deviceState)
Device state defines the device status of sidewalk device.
|
SidewalkDeviceMetadata |
withDeviceState(String deviceState)
Device state defines the device status of sidewalk device.
|
SidewalkDeviceMetadata |
withEvent(Event event)
Sidewalk device status notification.
|
SidewalkDeviceMetadata |
withEvent(String event)
Sidewalk device status notification.
|
SidewalkDeviceMetadata |
withRssi(Integer rssi)
The RSSI value.
|
public void setRssi(Integer rssi)
The RSSI value.
rssi - The RSSI value.public Integer getRssi()
The RSSI value.
public SidewalkDeviceMetadata withRssi(Integer rssi)
The RSSI value.
rssi - The RSSI value.public void setBatteryLevel(String batteryLevel)
Sidewalk device battery level.
batteryLevel - Sidewalk device battery level.BatteryLevelpublic String getBatteryLevel()
Sidewalk device battery level.
BatteryLevelpublic SidewalkDeviceMetadata withBatteryLevel(String batteryLevel)
Sidewalk device battery level.
batteryLevel - Sidewalk device battery level.BatteryLevelpublic SidewalkDeviceMetadata withBatteryLevel(BatteryLevel batteryLevel)
Sidewalk device battery level.
batteryLevel - Sidewalk device battery level.BatteryLevelpublic void setEvent(String event)
Sidewalk device status notification.
event - Sidewalk device status notification.Eventpublic String getEvent()
Sidewalk device status notification.
Eventpublic SidewalkDeviceMetadata withEvent(String event)
Sidewalk device status notification.
event - Sidewalk device status notification.Eventpublic SidewalkDeviceMetadata withEvent(Event event)
Sidewalk device status notification.
event - Sidewalk device status notification.Eventpublic void setDeviceState(String deviceState)
Device state defines the device status of sidewalk device.
deviceState - Device state defines the device status of sidewalk device.DeviceStatepublic String getDeviceState()
Device state defines the device status of sidewalk device.
DeviceStatepublic SidewalkDeviceMetadata withDeviceState(String deviceState)
Device state defines the device status of sidewalk device.
deviceState - Device state defines the device status of sidewalk device.DeviceStatepublic SidewalkDeviceMetadata withDeviceState(DeviceState deviceState)
Device state defines the device status of sidewalk device.
deviceState - Device state defines the device status of sidewalk device.DeviceStatepublic String toString()
toString in class ObjectObject.toString()public SidewalkDeviceMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.