@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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
macAddress()
The MAC address of a device.
|
DeviceNetworkProfileInfo |
networkProfileInfo()
Detailed information about a device's network profile.
|
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 DeviceNetworkProfileInfo networkProfileInfo()
Detailed information about a device's network profile.
public Device.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Device.Builder,Device>public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.