@Generated(value="software.amazon.awssdk:codegen") public final class DeviceData extends Object implements StructuredPojo, ToCopyableBuilder<DeviceData.Builder,DeviceData>
Device attributes.
Modifier and Type | Class and Description |
---|---|
static interface |
DeviceData.Builder |
Modifier and Type | Method and Description |
---|---|
static DeviceData.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.
|
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.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
roomArn()
The room ARN associated with a device.
|
String |
roomName()
The name of the room associated with a device.
|
static Class<? extends DeviceData.Builder> |
serializableBuilderClass() |
String |
softwareVersion()
The software version of a device.
|
DeviceData.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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 DeviceStatus deviceStatus()
The status of a device.
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()
.
DeviceStatus
public String deviceStatusAsString()
The status of a device.
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()
.
DeviceStatus
public String roomArn()
The room ARN associated with a device.
public String roomName()
The name of the room associated with a device.
public DeviceData.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeviceData.Builder,DeviceData>
public static DeviceData.Builder builder()
public static Class<? extends DeviceData.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.