@Generated(value="software.amazon.awssdk:codegen") public final class DeviceDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceDescription.Builder,DeviceDescription>
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceDescription.Builder |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
attributes()
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
|
static DeviceDescription.Builder |
builder() |
String |
deviceId()
The unique identifier of the device.
|
Boolean |
enabled()
A Boolean value indicating whether or not the device is enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Double |
remainingLife()
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceDescription.Builder> |
serializableBuilderClass() |
DeviceDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
type()
The type of the device, such as "button".
|
copy
public Map<String,String> attributes()
An array of zero or more elements of DeviceAttribute objects providing user specified device attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String deviceId()
The unique identifier of the device.
public Boolean enabled()
A Boolean value indicating whether or not the device is enabled.
public Double remainingLife()
A value between 0 and 1 inclusive, representing the fraction of life remaining for the device.
public String type()
The type of the device, such as "button".
public DeviceDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeviceDescription.Builder,DeviceDescription>
public static DeviceDescription.Builder builder()
public static Class<? extends DeviceDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.