Interface Job.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Job.Builder,Job>,SdkBuilder<Job.Builder,Job>,SdkPojo
- Enclosing class:
- Job
public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Job.BuilderaccountId(String accountId)The ID of the Amazon Web Services account to use when performing the job.default Job.Builderdata(Consumer<JobData.Builder> data)Other data about a job.Job.Builderdata(JobData data)Other data about a job.Job.Builderid(String id)The unique system-generated ID of the job.Job.Buildernonce(String nonce)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
Job.Builder id(String 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
Job.Builder data(JobData 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
default Job.Builder data(Consumer<JobData.Builder> data)
Other data about a job.
This is a convenience method that creates an instance of theJobData.Builderavoiding the need to create one manually viaJobData.builder().When the
Consumercompletes,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:
data(JobData)
-
nonce
Job.Builder nonce(String 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
Job.Builder accountId(String 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.
-
-