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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ThirdPartyJobDetails.Builderdata(Consumer<ThirdPartyJobData.Builder> data)The data to be returned by the third party job worker.ThirdPartyJobDetails.Builderdata(ThirdPartyJobData data)The data to be returned by the third party job worker.ThirdPartyJobDetails.Builderid(String id)The identifier used to identify the job details in CodePipeline.ThirdPartyJobDetails.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
ThirdPartyJobDetails.Builder id(String 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
ThirdPartyJobDetails.Builder data(ThirdPartyJobData 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
default ThirdPartyJobDetails.Builder data(Consumer<ThirdPartyJobData.Builder> data)
The data to be returned by the third party job worker.
This is a convenience method that creates an instance of theThirdPartyJobData.Builderavoiding the need to create one manually viaThirdPartyJobData.builder().When the
Consumercompletes,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:
data(ThirdPartyJobData)
-
nonce
ThirdPartyJobDetails.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 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.
-
-