public static interface JobSummary.Builder extends SdkPojo, CopyableBuilder<JobSummary.Builder,JobSummary>
Modifier and Type | Method and Description |
---|---|
JobSummary.Builder |
completedAt(Instant completedAt)
The time, in seconds since the epoch, when the job completed.
|
JobSummary.Builder |
createdAt(Instant createdAt)
The time, in seconds since the epoch, when the job was created.
|
JobSummary.Builder |
jobArn(String jobArn)
The job ARN.
|
JobSummary.Builder |
jobId(String jobId)
The unique identifier you assigned to this job when it was created.
|
JobSummary.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
|
JobSummary.Builder |
status(JobStatus status)
The job summary status.
|
JobSummary.Builder |
status(String status)
The job summary status.
|
JobSummary.Builder |
targetSelection(String 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).
|
JobSummary.Builder |
targetSelection(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).
|
JobSummary.Builder |
thingGroupId(String thingGroupId)
The ID of the thing group.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
JobSummary.Builder jobArn(String jobArn)
The job ARN.
jobArn
- The job ARN.JobSummary.Builder jobId(String jobId)
The unique identifier you assigned to this job when it was created.
jobId
- The unique identifier you assigned to this job when it was created.JobSummary.Builder thingGroupId(String thingGroupId)
The ID of the thing group.
thingGroupId
- The ID of the thing group.JobSummary.Builder targetSelection(String 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.
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.TargetSelection
,
TargetSelection
JobSummary.Builder targetSelection(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.
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.TargetSelection
,
TargetSelection
JobSummary.Builder status(String status)
The job summary status.
JobSummary.Builder status(JobStatus status)
The job summary status.
JobSummary.Builder createdAt(Instant createdAt)
The time, in seconds since the epoch, when the job was created.
createdAt
- The time, in seconds since the epoch, when the job was created.JobSummary.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time, in seconds since the epoch, when the job was last updated.
lastUpdatedAt
- The time, in seconds since the epoch, when the job was last updated.JobSummary.Builder completedAt(Instant completedAt)
The time, in seconds since the epoch, when the job completed.
completedAt
- The time, in seconds since the epoch, when the job completed.Copyright © 2021. All rights reserved.