public static interface ActionExecution.Builder extends SdkPojo, CopyableBuilder<ActionExecution.Builder,ActionExecution>
Modifier and Type | Method and Description |
---|---|
default ActionExecution.Builder |
errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
The details of an error returned by a URL external to AWS.
|
ActionExecution.Builder |
errorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to AWS.
|
ActionExecution.Builder |
externalExecutionId(String externalExecutionId)
The external ID of the run of the action.
|
ActionExecution.Builder |
externalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to AWS that will be used when running the action, for example an external
repository URL.
|
ActionExecution.Builder |
lastStatusChange(Instant lastStatusChange)
The last status change of the action.
|
ActionExecution.Builder |
lastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
|
ActionExecution.Builder |
percentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
|
ActionExecution.Builder |
status(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
|
ActionExecution.Builder |
status(String status)
The status of the action, or for a completed action, the last status of the action.
|
ActionExecution.Builder |
summary(String summary)
A summary of the run of the action.
|
ActionExecution.Builder |
token(String token)
The system-generated token used to identify a unique approval request.
|
copy
applyMutation, build
ActionExecution.Builder status(String status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last status of the action.ActionExecutionStatus
,
ActionExecutionStatus
ActionExecution.Builder status(ActionExecutionStatus status)
The status of the action, or for a completed action, the last status of the action.
status
- The status of the action, or for a completed action, the last status of the action.ActionExecutionStatus
,
ActionExecutionStatus
ActionExecution.Builder summary(String summary)
A summary of the run of the action.
summary
- A summary of the run of the action.ActionExecution.Builder lastStatusChange(Instant lastStatusChange)
The last status change of the action.
lastStatusChange
- The last status change of the action.ActionExecution.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 command 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 command and is used to validate that the
approval request corresponding to this token is still valid.ActionExecution.Builder lastUpdatedBy(String lastUpdatedBy)
The ARN of the user who last changed the pipeline.
lastUpdatedBy
- The ARN of the user who last changed the pipeline.ActionExecution.Builder externalExecutionId(String externalExecutionId)
The external ID of the run of the action.
externalExecutionId
- The external ID of the run of the action.ActionExecution.Builder externalExecutionUrl(String externalExecutionUrl)
The URL of a resource external to AWS that will be used when running the action, for example an external repository URL.
externalExecutionUrl
- The URL of a resource external to AWS that will be used when running the action, for example an
external repository URL.ActionExecution.Builder percentComplete(Integer percentComplete)
A percentage of completeness of the action as it runs.
percentComplete
- A percentage of completeness of the action as it runs.ActionExecution.Builder errorDetails(ErrorDetails errorDetails)
The details of an error returned by a URL external to AWS.
errorDetails
- The details of an error returned by a URL external to AWS.default ActionExecution.Builder errorDetails(Consumer<ErrorDetails.Builder> errorDetails)
The details of an error returned by a URL external to AWS.
This is a convenience that creates an instance of theErrorDetails.Builder
avoiding the need to
create one manually via ErrorDetails.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to errorDetails(ErrorDetails)
.errorDetails
- a consumer that will call methods on ErrorDetails.Builder
errorDetails(ErrorDetails)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.