@Generated(value="software.amazon.awssdk:codegen") public final class JobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobSummary.Builder,JobSummary>
The job summary.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static JobSummary.Builder |
builder() |
Instant |
completedAt()
The time, in seconds since the epoch, when the job completed.
|
Instant |
createdAt()
The time, in seconds since the epoch, when the job was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
jobArn()
The job ARN.
|
String |
jobId()
The unique identifier you assigned to this job when it was created.
|
Instant |
lastUpdatedAt()
The time, in seconds since the epoch, when the job was last updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobSummary.Builder> |
serializableBuilderClass() |
JobStatus |
status()
The job summary status.
|
String |
statusAsString()
The job summary status.
|
TargetSelection |
targetSelection()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified
as targets have completed the job (SNAPSHOT).
|
String |
targetSelectionAsString()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified
as targets have completed the job (SNAPSHOT).
|
String |
thingGroupId()
The ID of the thing group.
|
JobSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobArn()
The job ARN.
public final String jobId()
The unique identifier you assigned to this job when it was created.
public final String thingGroupId()
The ID of the thing group.
public final TargetSelection targetSelection()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
If the service returns an enum value that is not available in the current SDK version, targetSelection
will return TargetSelection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetSelectionAsString().
TargetSelectionpublic final String targetSelectionAsString()
Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.
If the service returns an enum value that is not available in the current SDK version, targetSelection
will return TargetSelection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from targetSelectionAsString().
TargetSelectionpublic final JobStatus status()
The job summary status.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final String statusAsString()
The job summary status.
If the service returns an enum value that is not available in the current SDK version, status will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
JobStatuspublic final Instant createdAt()
The time, in seconds since the epoch, when the job was created.
public final Instant lastUpdatedAt()
The time, in seconds since the epoch, when the job was last updated.
public final Instant completedAt()
The time, in seconds since the epoch, when the job completed.
public JobSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobSummary.Builder,JobSummary>public static JobSummary.Builder builder()
public static Class<? extends JobSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.