Interface JobListDescriptor.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobListDescriptor.Builder,
,JobListDescriptor> SdkBuilder<JobListDescriptor.Builder,
,JobListDescriptor> SdkPojo
- Enclosing class:
JobListDescriptor
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) A timestamp indicating when the specified job was created.description
(String description) The user-specified description that was included in the specified job'sCreate Job
request.The ID for the specified job.The operation that the specified job is configured to run on every object listed in the manifest.operation
(OperationName operation) The operation that the specified job is configured to run on every object listed in the manifest.The current priority for the specified job.default JobListDescriptor.Builder
progressSummary
(Consumer<JobProgressSummary.Builder> progressSummary) Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.progressSummary
(JobProgressSummary progressSummary) Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.The specified job's current status.The specified job's current status.terminationDate
(Instant terminationDate) A timestamp indicating when the specified job terminated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
jobId
The ID for the specified job.
- Parameters:
jobId
- The ID for the specified job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The user-specified description that was included in the specified job's
Create Job
request.- Parameters:
description
- The user-specified description that was included in the specified job'sCreate Job
request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The operation that the specified job is configured to run on every object listed in the manifest.
- Parameters:
operation
- The operation that the specified job is configured to run on every object listed in the manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The operation that the specified job is configured to run on every object listed in the manifest.
- Parameters:
operation
- The operation that the specified job is configured to run on every object listed in the manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
priority
The current priority for the specified job.
- Parameters:
priority
- The current priority for the specified job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The specified job's current status.
- Parameters:
status
- The specified job's current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The specified job's current status.
- Parameters:
status
- The specified job's current status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
A timestamp indicating when the specified job was created.
- Parameters:
creationTime
- A timestamp indicating when the specified job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminationDate
A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.
- Parameters:
terminationDate
- A timestamp indicating when the specified job terminated. A job's termination date is the date and time when it succeeded, failed, or was canceled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressSummary
Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
- Parameters:
progressSummary
- Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressSummary
default JobListDescriptor.Builder progressSummary(Consumer<JobProgressSummary.Builder> progressSummary) Describes the total number of tasks that the specified job has run, the number of tasks that succeeded, and the number of tasks that failed.
This is a convenience method that creates an instance of theJobProgressSummary.Builder
avoiding the need to create one manually viaJobProgressSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprogressSummary(JobProgressSummary)
.- Parameters:
progressSummary
- a consumer that will call methods onJobProgressSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-