@Generated(value="software.amazon.awssdk:codegen") public final class Device extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Device.Builder,Device>
A device with attributes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Device.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Device.Builder |
builder() |
String |
deviceArn()
The ARN of a device.
|
String |
deviceName()
The name of a device.
|
String |
deviceSerialNumber()
The serial number of a device.
|
DeviceStatus |
deviceStatus()
The status of a device.
|
String |
deviceStatusAsString()
The status of a device.
|
DeviceStatusInfo |
deviceStatusInfo()
Detailed information about a device's status.
|
String |
deviceType()
The type of a device.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
macAddress()
The MAC address of a device.
|
String |
roomArn()
The room ARN of a device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Device.Builder> |
serializableBuilderClass() |
String |
softwareVersion()
The software version of a device.
|
Device.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String deviceArn()
The ARN of a device.
public String deviceSerialNumber()
The serial number of a device.
public String deviceType()
The type of a device.
public String deviceName()
The name of a device.
public String softwareVersion()
The software version of a device.
public String macAddress()
The MAC address of a device.
public String roomArn()
The room ARN of a device.
public DeviceStatus deviceStatus()
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
If the service returns an enum value that is not available in the current SDK version, deviceStatus will
return DeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
deviceStatusAsString().
DeviceStatuspublic String deviceStatusAsString()
The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.
If the service returns an enum value that is not available in the current SDK version, deviceStatus will
return DeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
deviceStatusAsString().
DeviceStatuspublic DeviceStatusInfo deviceStatusInfo()
Detailed information about a device's status.
public Device.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Device.Builder,Device>public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.