public static interface PutApprovalResultRequest.Builder extends CodePipelineRequest.Builder, CopyableBuilder<PutApprovalResultRequest.Builder,PutApprovalResultRequest>
Modifier and Type | Method and Description |
---|---|
PutApprovalResultRequest.Builder |
actionName(String actionName)
The name of the action for which approval is requested.
|
PutApprovalResultRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutApprovalResultRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
PutApprovalResultRequest.Builder |
pipelineName(String pipelineName)
The name of the pipeline that contains the action.
|
PutApprovalResultRequest.Builder |
result(ApprovalResult result)
Represents information about the result of the approval request.
|
default PutApprovalResultRequest.Builder |
result(Consumer<ApprovalResult.Builder> result)
Represents information about the result of the approval request.
|
PutApprovalResultRequest.Builder |
stageName(String stageName)
The name of the stage that contains the action.
|
PutApprovalResultRequest.Builder |
token(String token)
The system-generated token used to identify a unique approval request.
|
build
overrideConfiguration
copy
applyMutation, build
PutApprovalResultRequest.Builder pipelineName(String pipelineName)
The name of the pipeline that contains the action.
pipelineName
- The name of the pipeline that contains the action.PutApprovalResultRequest.Builder stageName(String stageName)
The name of the stage that contains the action.
stageName
- The name of the stage that contains the action.PutApprovalResultRequest.Builder actionName(String actionName)
The name of the action for which approval is requested.
actionName
- The name of the action for which approval is requested.PutApprovalResultRequest.Builder result(ApprovalResult result)
Represents information about the result of the approval request.
result
- Represents information about the result of the approval request.default PutApprovalResultRequest.Builder result(Consumer<ApprovalResult.Builder> result)
Represents information about the result of the approval request.
This is a convenience that creates an instance of theApprovalResult.Builder
avoiding the need to
create one manually via ApprovalResult.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to result(ApprovalResult)
.result
- a consumer that will call methods on ApprovalResult.Builder
result(ApprovalResult)
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 and is used to validate that the approval request corresponding to this token is still valid.
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 and is used to validate that
the approval request corresponding to this token is still valid.PutApprovalResultRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutApprovalResultRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.