Interface ActionExecution.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionExecution.Builder,
,ActionExecution> SdkBuilder<ActionExecution.Builder,
,ActionExecution> SdkPojo
- Enclosing class:
ActionExecution
-
Method Summary
Modifier and TypeMethodDescriptionactionExecutionId
(String actionExecutionId) ID of the workflow action execution in the current stage.default ActionExecution.Builder
errorDetails
(Consumer<ErrorDetails.Builder> errorDetails) The details of an error returned by a URL external to Amazon Web Services.errorDetails
(ErrorDetails errorDetails) The details of an error returned by a URL external to Amazon Web Services.externalExecutionId
(String externalExecutionId) The external ID of the run of the action.externalExecutionUrl
(String externalExecutionUrl) The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).lastStatusChange
(Instant lastStatusChange) The last status change of the action.lastUpdatedBy
(String lastUpdatedBy) The ARN of the user who last changed the pipeline.percentComplete
(Integer percentComplete) A percentage of completeness of the action as it runs.The status of the action, or for a completed action, the last status of the action.status
(ActionExecutionStatus status) The status of the action, or for a completed action, the last status of the action.A summary of the run of the action.The system-generated token used to identify a unique approval request.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
-
actionExecutionId
ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.
For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
- Parameters:
actionExecutionId
- ID of the workflow action execution in the current stage. Use the GetPipelineState action to retrieve the current action execution details of the current stage.For older executions, this field might be empty. The action execution ID is available for executions run on or after March 2020.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the action, or for a completed action, the last status of the action.
- Parameters:
status
- The status of the action, or for a completed action, the last status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the action, or for a completed action, the last status of the action.
- Parameters:
status
- The status of the action, or for a completed action, the last status of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
A summary of the run of the action.
- Parameters:
summary
- A summary of the run of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastStatusChange
The last status change of the action.
- Parameters:
lastStatusChange
- The last status change of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. 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 theGetPipelineState
command. 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.
-
lastUpdatedBy
The ARN of the user who last changed the pipeline.
- Parameters:
lastUpdatedBy
- The ARN of the user who last changed the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalExecutionId
The external ID of the run of the action.
- Parameters:
externalExecutionId
- The external ID of the run of the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalExecutionUrl
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
- Parameters:
externalExecutionUrl
- The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentComplete
A percentage of completeness of the action as it runs.
- Parameters:
percentComplete
- A percentage of completeness of the action as it runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The details of an error returned by a URL external to Amazon Web Services.
- Parameters:
errorDetails
- The details of an error returned by a URL external to Amazon Web Services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorDetails
The details of an error returned by a URL external to Amazon Web Services.
This is a convenience method that creates an instance of theErrorDetails.Builder
avoiding the need to create one manually viaErrorDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorDetails(ErrorDetails)
.- Parameters:
errorDetails
- a consumer that will call methods onErrorDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-