Interface ThirdPartyJobDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ThirdPartyJobDetails.Builder,
,ThirdPartyJobDetails> SdkBuilder<ThirdPartyJobDetails.Builder,
,ThirdPartyJobDetails> SdkPojo
- Enclosing class:
ThirdPartyJobDetails
public static interface ThirdPartyJobDetails.Builder
extends SdkPojo, CopyableBuilder<ThirdPartyJobDetails.Builder,ThirdPartyJobDetails>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ThirdPartyJobDetails.Builder
The data to be returned by the third party job worker.data
(ThirdPartyJobData data) The data to be returned by the third party job worker.The identifier used to identify the job details in CodePipeline.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 identifier used to identify the job details in CodePipeline.
- Parameters:
id
- The identifier used to identify the job details in CodePipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The data to be returned by the third party job worker.
- Parameters:
data
- The data to be returned by the third party job worker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The data to be returned by the third party job worker.
This is a convenience method that creates an instance of theThirdPartyJobData.Builder
avoiding the need to create one manually viaThirdPartyJobData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(ThirdPartyJobData)
.- Parameters:
data
- a consumer that will call methods onThirdPartyJobData.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 AcknowledgeThirdPartyJob 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 AcknowledgeThirdPartyJob request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-