@Generated(value="software.amazon.awssdk:codegen") public final class DeviceData extends Object implements SdkPojo, Serializable, 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() |
Instant |
createdTime()
The time (in epoch) when the device data was created.
|
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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
macAddress()
The MAC address of a device.
|
String |
networkProfileArn()
The ARN of the network profile associated with a device.
|
String |
networkProfileName()
The name of the network profile associated with a device.
|
String |
roomArn()
The room ARN associated with a device.
|
String |
roomName()
The name of the room associated with a device.
|
List<SdkField<?>> |
sdkFields() |
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()
Returns a string representation of this object.
|
copy
public final String deviceArn()
The ARN of a device.
public final String deviceSerialNumber()
The serial number of a device.
public final String deviceType()
The type of a device.
public final String deviceName()
The name of a device.
public final String softwareVersion()
The software version of a device.
public final String macAddress()
The MAC address of a device.
public final 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 final 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 final String networkProfileArn()
The ARN of the network profile associated with a device.
public final String networkProfileName()
The name of the network profile associated with a device.
public final String roomArn()
The room ARN associated with a device.
public final String roomName()
The name of the room associated with a device.
public final DeviceStatusInfo deviceStatusInfo()
Detailed information about a device's status.
public final Instant createdTime()
The time (in epoch) when the device data was created.
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 final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()