@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.BatteryLevel
public String getBatteryLevel()
Sidewalk device battery level.
BatteryLevel
public SidewalkDeviceMetadata withBatteryLevel(String batteryLevel)
Sidewalk device battery level.
batteryLevel
- Sidewalk device battery level.BatteryLevel
public SidewalkDeviceMetadata withBatteryLevel(BatteryLevel batteryLevel)
Sidewalk device battery level.
batteryLevel
- Sidewalk device battery level.BatteryLevel
public void setEvent(String event)
Sidewalk device status notification.
event
- Sidewalk device status notification.Event
public String getEvent()
Sidewalk device status notification.
Event
public SidewalkDeviceMetadata withEvent(String event)
Sidewalk device status notification.
event
- Sidewalk device status notification.Event
public SidewalkDeviceMetadata withEvent(Event event)
Sidewalk device status notification.
event
- Sidewalk device status notification.Event
public void setDeviceState(String deviceState)
Device state defines the device status of sidewalk device.
deviceState
- Device state defines the device status of sidewalk device.DeviceState
public String getDeviceState()
Device state defines the device status of sidewalk device.
DeviceState
public SidewalkDeviceMetadata withDeviceState(String deviceState)
Device state defines the device status of sidewalk device.
deviceState
- Device state defines the device status of sidewalk device.DeviceState
public SidewalkDeviceMetadata withDeviceState(DeviceState deviceState)
Device state defines the device status of sidewalk device.
deviceState
- Device state defines the device status of sidewalk device.DeviceState
public String toString()
toString
in class Object
Object.toString()
public SidewalkDeviceMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.