Class SidewalkDeviceMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.iotwireless.model.SidewalkDeviceMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SidewalkDeviceMetadata.Builder,SidewalkDeviceMetadata>
@Generated("software.amazon.awssdk:codegen") public final class SidewalkDeviceMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SidewalkDeviceMetadata.Builder,SidewalkDeviceMetadata>
MetaData for Sidewalk device.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSidewalkDeviceMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatteryLevelbatteryLevel()Sidewalk device battery level.StringbatteryLevelAsString()Sidewalk device battery level.static SidewalkDeviceMetadata.Builderbuilder()DeviceStatedeviceState()Device state defines the device status of sidewalk device.StringdeviceStateAsString()Device state defines the device status of sidewalk device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Eventevent()Sidewalk device status notification.StringeventAsString()Sidewalk device status notification.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerrssi()The RSSI value.List<SdkField<?>>sdkFields()static Class<? extends SidewalkDeviceMetadata.Builder>serializableBuilderClass()SidewalkDeviceMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
rssi
public final Integer rssi()
The RSSI value.
- Returns:
- The RSSI value.
-
batteryLevel
public final BatteryLevel batteryLevel()
Sidewalk device battery level.
If the service returns an enum value that is not available in the current SDK version,
batteryLevelwill returnBatteryLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombatteryLevelAsString().- Returns:
- Sidewalk device battery level.
- See Also:
BatteryLevel
-
batteryLevelAsString
public final String batteryLevelAsString()
Sidewalk device battery level.
If the service returns an enum value that is not available in the current SDK version,
batteryLevelwill returnBatteryLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombatteryLevelAsString().- Returns:
- Sidewalk device battery level.
- See Also:
BatteryLevel
-
event
public final Event event()
Sidewalk device status notification.
If the service returns an enum value that is not available in the current SDK version,
eventwill returnEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- Sidewalk device status notification.
- See Also:
Event
-
eventAsString
public final String eventAsString()
Sidewalk device status notification.
If the service returns an enum value that is not available in the current SDK version,
eventwill returnEvent.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventAsString().- Returns:
- Sidewalk device status notification.
- See Also:
Event
-
deviceState
public 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,
deviceStatewill returnDeviceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceStateAsString().- Returns:
- Device state defines the device status of sidewalk device.
- See Also:
DeviceState
-
deviceStateAsString
public 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,
deviceStatewill returnDeviceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeviceStateAsString().- Returns:
- Device state defines the device status of sidewalk device.
- See Also:
DeviceState
-
toBuilder
public SidewalkDeviceMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SidewalkDeviceMetadata.Builder,SidewalkDeviceMetadata>
-
builder
public static SidewalkDeviceMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends SidewalkDeviceMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-