@Generated(value="software.amazon.awssdk:codegen") public final class Device extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Device.Builder,Device>
A device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Device.Builder |
| Modifier and Type | Method and Description |
|---|---|
DeviceBrand |
brand()
The device's maker.
|
String |
brandAsString()
The device's maker.
|
static Device.Builder |
builder() |
Instant |
createdTime()
When the device was created.
|
String |
deviceId()
The device's ID.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
When the device was updated.
|
Instant |
leaseExpirationTime()
The device's lease expiration time.
|
String |
name()
The device's name.
|
DeviceStatus |
provisioningStatus()
The device's provisioning status.
|
String |
provisioningStatusAsString()
The device's provisioning status.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Device.Builder> |
serializableBuilderClass() |
Device.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DeviceBrand brand()
The device's maker.
If the service returns an enum value that is not available in the current SDK version, brand will return
DeviceBrand.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
brandAsString().
DeviceBrandpublic final String brandAsString()
The device's maker.
If the service returns an enum value that is not available in the current SDK version, brand will return
DeviceBrand.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
brandAsString().
DeviceBrandpublic final Instant createdTime()
When the device was created.
public final String deviceId()
The device's ID.
public final Instant lastUpdatedTime()
When the device was updated.
public final Instant leaseExpirationTime()
The device's lease expiration time.
public final String name()
The device's name.
public final DeviceStatus provisioningStatus()
The device's provisioning status.
If the service returns an enum value that is not available in the current SDK version,
provisioningStatus will return DeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from provisioningStatusAsString().
DeviceStatuspublic final String provisioningStatusAsString()
The device's provisioning status.
If the service returns an enum value that is not available in the current SDK version,
provisioningStatus will return DeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by
the service is available from provisioningStatusAsString().
DeviceStatuspublic Device.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Device.Builder,Device>public static Device.Builder builder()
public static Class<? extends Device.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.