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 |
pipelineName(String pipelineName)
The name of the pipeline that contains the action.
|
PutApprovalResultRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
PutApprovalResultRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildrequestOverrideConfigcopyapply, buildPutApprovalResultRequest.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.Builderresult(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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.PutApprovalResultRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.