Interface PutApprovalResultRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodePipelineRequest.Builder,CopyableBuilder<PutApprovalResultRequest.Builder,PutApprovalResultRequest>,SdkBuilder<PutApprovalResultRequest.Builder,PutApprovalResultRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- PutApprovalResultRequest
public static interface PutApprovalResultRequest.Builder extends CodePipelineRequest.Builder, SdkPojo, CopyableBuilder<PutApprovalResultRequest.Builder,PutApprovalResultRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutApprovalResultRequest.BuilderactionName(String actionName)The name of the action for which approval is requested.PutApprovalResultRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PutApprovalResultRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PutApprovalResultRequest.BuilderpipelineName(String pipelineName)The name of the pipeline that contains the action.default PutApprovalResultRequest.Builderresult(Consumer<ApprovalResult.Builder> result)Represents information about the result of the approval request.PutApprovalResultRequest.Builderresult(ApprovalResult result)Represents information about the result of the approval request.PutApprovalResultRequest.BuilderstageName(String stageName)The name of the stage that contains the action.PutApprovalResultRequest.Buildertoken(String token)The system-generated token used to identify a unique approval request.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
pipelineName
PutApprovalResultRequest.Builder pipelineName(String pipelineName)
The name of the pipeline that contains the action.
- Parameters:
pipelineName- The name of the pipeline that contains the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stageName
PutApprovalResultRequest.Builder stageName(String stageName)
The name of the stage that contains the action.
- Parameters:
stageName- The name of the stage that contains the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionName
PutApprovalResultRequest.Builder actionName(String actionName)
The name of the action for which approval is requested.
- Parameters:
actionName- The name of the action for which approval is requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
PutApprovalResultRequest.Builder result(ApprovalResult result)
Represents information about the result of the approval request.
- Parameters:
result- Represents information about the result of the approval request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
default PutApprovalResultRequest.Builder result(Consumer<ApprovalResult.Builder> result)
Represents information about the result of the approval request.
This is a convenience method that creates an instance of theApprovalResult.Builderavoiding the need to create one manually viaApprovalResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresult(ApprovalResult).- Parameters:
result- a consumer that will call methods onApprovalResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
result(ApprovalResult)
-
token
PutApprovalResultRequest.Builder token(String token)
The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState action. It is used to validate that the approval request corresponding to this token is still valid.
For a pipeline where the execution mode is set to PARALLEL, the token required to approve/reject approval request as detailed above is not available. Instead, use the
externalExecutionIdfrom theGetPipelineStateaction as the token in the approval request.- Parameters:
token- The system-generated token used to identify a unique approval request. The token for each open approval request can be obtained using the GetPipelineState action. It is used to validate that the approval request corresponding to this token is still valid.For a pipeline where the execution mode is set to PARALLEL, the token required to approve/reject approval request as detailed above is not available. Instead, use the
externalExecutionIdfrom theGetPipelineStateaction as the token in the approval request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutApprovalResultRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PutApprovalResultRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-