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 |
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
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.