@Generated(value="software.amazon.awssdk:codegen") public final class DescribeDeviceResponse extends WorkLinkResponse implements ToCopyableBuilder<DescribeDeviceResponse.Builder,DescribeDeviceResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeDeviceResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeDeviceResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
firstAccessedTime()
The date that the device first signed in to Amazon WorkLink.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastAccessedTime()
The date that the device last accessed Amazon WorkLink.
|
String |
manufacturer()
The manufacturer of the device.
|
String |
model()
The model of the device.
|
String |
operatingSystem()
The operating system of the device.
|
String |
operatingSystemVersion()
The operating system version of the device.
|
String |
patchLevel()
The operating system patch level of the device.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeDeviceResponse.Builder> |
serializableBuilderClass() |
DeviceStatus |
status()
The current state of the device.
|
String |
statusAsString()
The current state of the device.
|
DescribeDeviceResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name associated with the device.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DeviceStatus status()
The current state of the device.
If the service returns an enum value that is not available in the current SDK version, status will
return DeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DeviceStatuspublic final String statusAsString()
The current state of the device.
If the service returns an enum value that is not available in the current SDK version, status will
return DeviceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
DeviceStatuspublic final String model()
The model of the device.
public final String manufacturer()
The manufacturer of the device.
public final String operatingSystem()
The operating system of the device.
public final String operatingSystemVersion()
The operating system version of the device.
public final String patchLevel()
The operating system patch level of the device.
public final Instant firstAccessedTime()
The date that the device first signed in to Amazon WorkLink.
public final Instant lastAccessedTime()
The date that the device last accessed Amazon WorkLink.
public final String username()
The user name associated with the device.
public DescribeDeviceResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeDeviceResponse.Builder,DescribeDeviceResponse>toBuilder in class AwsResponsepublic static DescribeDeviceResponse.Builder builder()
public static Class<? extends DescribeDeviceResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2022. All rights reserved.