public static interface ThirdPartyJobDetails.Builder extends CopyableBuilder<ThirdPartyJobDetails.Builder,ThirdPartyJobDetails>
Modifier and Type | Method and Description |
---|---|
default ThirdPartyJobDetails.Builder |
data(Consumer<ThirdPartyJobData.Builder> data)
The data to be returned by the third party job worker.
|
ThirdPartyJobDetails.Builder |
data(ThirdPartyJobData data)
The data to be returned by the third party job worker.
|
ThirdPartyJobDetails.Builder |
id(String id)
The identifier used to identify the job details in AWS CodePipeline.
|
ThirdPartyJobDetails.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
ThirdPartyJobDetails.Builder id(String id)
The identifier used to identify the job details in AWS CodePipeline.
id
- The identifier used to identify the job details in AWS CodePipeline.ThirdPartyJobDetails.Builder data(ThirdPartyJobData data)
The data to be returned by the third party job worker.
data
- The data to be returned by the third party job worker.default ThirdPartyJobDetails.Builder data(Consumer<ThirdPartyJobData.Builder> data)
The data to be returned by the third party job worker.
This is a convenience that creates an instance of theThirdPartyJobData.Builder
avoiding the need to
create one manually via ThirdPartyJobData.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to data(ThirdPartyJobData)
.data
- a consumer that will call methods on ThirdPartyJobData.Builder
data(ThirdPartyJobData)
ThirdPartyJobDetails.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 AcknowledgeThirdPartyJob 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 AcknowledgeThirdPartyJob request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.