@Generated(value="software.amazon.awssdk:codegen") public final class DeviceJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DeviceJob.Builder,DeviceJob>
A job that runs on a device.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeviceJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeviceJob.Builder |
builder() |
Instant |
createdTime()
When the job was created.
|
String |
deviceId()
The ID of the target device.
|
String |
deviceName()
The name of the target device
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobId()
The job's ID.
|
JobType |
jobType()
The job's type.
|
String |
jobTypeAsString()
The job's type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeviceJob.Builder> |
serializableBuilderClass() |
DeviceJob.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdTime()
When the job was created.
public final String deviceId()
The ID of the target device.
public final String deviceName()
The name of the target device
public final String jobId()
The job's ID.
public final JobType jobType()
The job's type.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
JobTypepublic final String jobTypeAsString()
The job's type.
If the service returns an enum value that is not available in the current SDK version, jobType will
return JobType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobTypeAsString().
JobTypepublic DeviceJob.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeviceJob.Builder,DeviceJob>public static DeviceJob.Builder builder()
public static Class<? extends DeviceJob.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.