@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 milliseconds since the epoch, when the job completed.
|
Instant |
createdAt()
The time, in milliseconds since the epoch, when the job was created.
|
boolean |
equals(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 milliseconds 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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String jobArn()
The job ARN.
public String jobId()
The unique identifier you assigned to this job when it was created.
public String thingGroupId()
The ID of the thing group.
public 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()
.
TargetSelection
public 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()
.
TargetSelection
public 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()
.
JobStatus
public 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()
.
JobStatus
public Instant createdAt()
The time, in milliseconds since the epoch, when the job was created.
public Instant lastUpdatedAt()
The time, in milliseconds since the epoch, when the job was last updated.
public Instant completedAt()
The time, in milliseconds since the epoch, when the job completed.
public JobSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<JobSummary.Builder,JobSummary>
public static JobSummary.Builder builder()
public static Class<? extends JobSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.