public static interface Job.Builder extends CopyableBuilder<Job.Builder,Job>
Modifier and Type | Method and Description |
---|---|
Job.Builder |
accountId(String accountId)
The ID of the AWS account to use when performing the job.
|
default Job.Builder |
data(Consumer<JobData.Builder> data)
Additional data about a job.
|
Job.Builder |
data(JobData data)
Additional data about a job.
|
Job.Builder |
id(String id)
The unique system-generated ID of the job.
|
Job.Builder |
nonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only
one job worker.
|
copy
applyMutation, build
Job.Builder id(String id)
The unique system-generated ID of the job.
id
- The unique system-generated ID of the job.Job.Builder data(JobData data)
Additional data about a job.
data
- Additional data about a job.default Job.Builder data(Consumer<JobData.Builder> data)
Additional data about a job.
This is a convenience that creates an instance of theJobData.Builder
avoiding the need to create one
manually via JobData.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to data(JobData)
.data
- a consumer that will call methods on JobData.Builder
data(JobData)
Job.Builder nonce(String nonce)
A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on by only one job worker. Use this number in an AcknowledgeJob request.
nonce
- A system-generated random number that AWS CodePipeline uses to ensure that the job is being worked on
by only one job worker. Use this number in an AcknowledgeJob request.Job.Builder accountId(String accountId)
The ID of the AWS account to use when performing the job.
accountId
- The ID of the AWS account to use when performing the job.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.