@Generated(value="software.amazon.awssdk:codegen") public final class SidewalkDeviceMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SidewalkDeviceMetadata.Builder,SidewalkDeviceMetadata>
MetaData for Sidewalk device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SidewalkDeviceMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
BatteryLevel |
batteryLevel()
Sidewalk device battery level.
|
String |
batteryLevelAsString()
Sidewalk device battery level.
|
static SidewalkDeviceMetadata.Builder |
builder() |
DeviceState |
deviceState()
Device state defines the device status of sidewalk device.
|
String |
deviceStateAsString()
Device state defines the device status of sidewalk device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Event |
event()
Sidewalk device status notification.
|
String |
eventAsString()
Sidewalk device status notification.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
rssi()
The RSSI value.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SidewalkDeviceMetadata.Builder> |
serializableBuilderClass() |
SidewalkDeviceMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer rssi()
The RSSI value.
public final BatteryLevel batteryLevel()
Sidewalk device battery level.
If the service returns an enum value that is not available in the current SDK version, batteryLevel will
return BatteryLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
batteryLevelAsString().
BatteryLevelpublic final String batteryLevelAsString()
Sidewalk device battery level.
If the service returns an enum value that is not available in the current SDK version, batteryLevel will
return BatteryLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
batteryLevelAsString().
BatteryLevelpublic final Event event()
Sidewalk device status notification.
If the service returns an enum value that is not available in the current SDK version, event will return
Event.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
Eventpublic final String eventAsString()
Sidewalk device status notification.
If the service returns an enum value that is not available in the current SDK version, event will return
Event.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
eventAsString().
Eventpublic final DeviceState deviceState()
Device state defines the device status of sidewalk device.
If the service returns an enum value that is not available in the current SDK version, deviceState will
return DeviceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
deviceStateAsString().
DeviceStatepublic final String deviceStateAsString()
Device state defines the device status of sidewalk device.
If the service returns an enum value that is not available in the current SDK version, deviceState will
return DeviceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
deviceStateAsString().
DeviceStatepublic SidewalkDeviceMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SidewalkDeviceMetadata.Builder,SidewalkDeviceMetadata>public static SidewalkDeviceMetadata.Builder builder()
public static Class<? extends SidewalkDeviceMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.