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
Modifier and TypeMethodDescriptionactionName
(String actionName) The name of the action for which approval is requested.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pipelineName
(String pipelineName) The name of the pipeline that contains the action.default PutApprovalResultRequest.Builder
result
(Consumer<ApprovalResult.Builder> result) Represents information about the result of the approval request.result
(ApprovalResult result) Represents information about the result of the approval request.The name of the stage that contains the action.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, sdkFields
-
Method Details
-
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
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
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
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
Represents information about the result of the approval request.
This is a convenience method that creates an instance of theApprovalResult.Builder
avoiding the need to create one manually viaApprovalResult.builder()
.When the
Consumer
completes,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:
-
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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PutApprovalResultRequest.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
PutApprovalResultRequest.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.
-