Interface Job.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Job.Builder,
,Job> SdkBuilder<Job.Builder,
,Job> SdkPojo
- Enclosing class:
Job
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account to use when performing the job.default Job.Builder
data
(Consumer<JobData.Builder> data) Other data about a job.Other data about a job.The unique system-generated ID of the job.A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker.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
-
id
The unique system-generated ID of the job.
- Parameters:
id
- The unique system-generated ID of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Other data about a job.
- Parameters:
data
- Other data about a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Other data about a job.
This is a convenience method that creates an instance of theJobData.Builder
avoiding the need to create one manually viaJobData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(JobData)
.- Parameters:
data
- a consumer that will call methods onJobData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nonce
A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.
- Parameters:
nonce
- A system-generated random number that CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The ID of the Amazon Web Services account to use when performing the job.
- Parameters:
accountId
- The ID of the Amazon Web Services account to use when performing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-