@Generated(value="software.amazon.awssdk:codegen") public final class DescribeDeviceJobResponse extends PanoramaResponse implements ToCopyableBuilder<DescribeDeviceJobResponse.Builder,DescribeDeviceJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeDeviceJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeDeviceJobResponse.Builder |
builder() |
Instant |
createdTime()
When the job was created.
|
String |
deviceArn()
The device's ARN.
|
String |
deviceId()
The device's ID.
|
String |
deviceName()
The device's name.
|
DeviceType |
deviceType()
The device's type.
|
String |
deviceTypeAsString()
The device's type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
imageVersion()
For an OTA job, the target version of the device software.
|
String |
jobId()
The job's ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeDeviceJobResponse.Builder> |
serializableBuilderClass() |
UpdateProgress |
status()
The job's status.
|
String |
statusAsString()
The job's status.
|
DescribeDeviceJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdTime()
When the job was created.
public final String deviceArn()
The device's ARN.
public final String deviceId()
The device's ID.
public final String deviceName()
The device's name.
public final DeviceType deviceType()
The device's type.
If the service returns an enum value that is not available in the current SDK version, deviceType will
return DeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
deviceTypeAsString().
DeviceTypepublic final String deviceTypeAsString()
The device's type.
If the service returns an enum value that is not available in the current SDK version, deviceType will
return DeviceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
deviceTypeAsString().
DeviceTypepublic final String imageVersion()
For an OTA job, the target version of the device software.
public final String jobId()
The job's ID.
public final UpdateProgress status()
The job's status.
If the service returns an enum value that is not available in the current SDK version, status will
return UpdateProgress.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UpdateProgresspublic final String statusAsString()
The job's status.
If the service returns an enum value that is not available in the current SDK version, status will
return UpdateProgress.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
UpdateProgresspublic DescribeDeviceJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeDeviceJobResponse.Builder,DescribeDeviceJobResponse>toBuilder in class AwsResponsepublic static DescribeDeviceJobResponse.Builder builder()
public static Class<? extends DescribeDeviceJobResponse.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.