@Generated(value="software.amazon.awssdk:codegen") public final class DeviceType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceType.Builder,DeviceType>
The device type.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeviceType.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeviceType.Builder |
builder() |
List<AttributeType> |
deviceAttributes()
The device attributes.
|
Instant |
deviceCreateDate()
The creation date of the device.
|
String |
deviceKey()
The device key.
|
Instant |
deviceLastAuthenticatedDate()
The date in which the device was last authenticated.
|
Instant |
deviceLastModifiedDate()
The last modified date of the device.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasDeviceAttributes()
Returns true if the DeviceAttributes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceType.Builder> |
serializableBuilderClass() |
DeviceType.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String deviceKey()
The device key.
public boolean hasDeviceAttributes()
public List<AttributeType> deviceAttributes()
The device attributes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasDeviceAttributes() to see if a value was sent in this field.
public Instant deviceCreateDate()
The creation date of the device.
public Instant deviceLastModifiedDate()
The last modified date of the device.
public Instant deviceLastAuthenticatedDate()
The date in which the device was last authenticated.
public DeviceType.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeviceType.Builder,DeviceType>public static DeviceType.Builder builder()
public static Class<? extends DeviceType.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.