Interface PutThirdPartyJobSuccessResultRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodePipelineRequest.Builder
,CopyableBuilder<PutThirdPartyJobSuccessResultRequest.Builder,
,PutThirdPartyJobSuccessResultRequest> SdkBuilder<PutThirdPartyJobSuccessResultRequest.Builder,
,PutThirdPartyJobSuccessResultRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
PutThirdPartyJobSuccessResultRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.continuationToken
(String continuationToken) A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress.currentRevision
(Consumer<CurrentRevision.Builder> currentRevision) Represents information about a current revision.currentRevision
(CurrentRevision currentRevision) Represents information about a current revision.executionDetails
(Consumer<ExecutionDetails.Builder> executionDetails) The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.executionDetails
(ExecutionDetails executionDetails) The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.The ID of the job that successfully completed.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineRequest.Builder
build
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
-
jobId
The ID of the job that successfully completed. This is the same ID returned from
PollForThirdPartyJobs
.- Parameters:
jobId
- The ID of the job that successfully completed. This is the same ID returned fromPollForThirdPartyJobs
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.
- Parameters:
clientToken
- The clientToken portion of the clientId and clientToken pair used to verify that the calling entity is allowed access to the job and its details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRevision
Represents information about a current revision.
- Parameters:
currentRevision
- Represents information about a current revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRevision
default PutThirdPartyJobSuccessResultRequest.Builder currentRevision(Consumer<CurrentRevision.Builder> currentRevision) Represents information about a current revision.
This is a convenience method that creates an instance of theCurrentRevision.Builder
avoiding the need to create one manually viaCurrentRevision.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentRevision(CurrentRevision)
.- Parameters:
currentRevision
- a consumer that will call methods onCurrentRevision.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
continuationToken
A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the partner action. When the action is complete, no continuation token should be supplied.
- Parameters:
continuationToken
- A token generated by a job worker, such as a CodeDeploy deployment ID, that a successful job provides to identify a partner action in progress. Future jobs use this token to identify the running instance of the action. It can be reused to return more information about the progress of the partner action. When the action is complete, no continuation token should be supplied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionDetails
The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.
- Parameters:
executionDetails
- The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionDetails
default PutThirdPartyJobSuccessResultRequest.Builder executionDetails(Consumer<ExecutionDetails.Builder> executionDetails) The details of the actions taken and results produced on an artifact as it passes through stages in the pipeline.
This is a convenience method that creates an instance of theExecutionDetails.Builder
avoiding the need to create one manually viaExecutionDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionDetails(ExecutionDetails)
.- Parameters:
executionDetails
- a consumer that will call methods onExecutionDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutThirdPartyJobSuccessResultRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutThirdPartyJobSuccessResultRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-