Interface ActionExecution.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActionExecution.Builder,ActionExecution>,SdkBuilder<ActionExecution.Builder,ActionExecution>,SdkPojo
- Enclosing class:
- ActionExecution
public static interface ActionExecution.Builder extends SdkPojo, CopyableBuilder<ActionExecution.Builder,ActionExecution>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ActionExecution.BuilderactionExecutionId(String actionExecutionId)ID of the workflow action execution in the current stage.default ActionExecution.BuildererrorDetails(Consumer<ErrorDetails.Builder> errorDetails)The details of an error returned by a URL external to Amazon Web Services.ActionExecution.BuildererrorDetails(ErrorDetails errorDetails)The details of an error returned by a URL external to Amazon Web Services.ActionExecution.BuilderexternalExecutionId(String externalExecutionId)The external ID of the run of the action.ActionExecution.BuilderexternalExecutionUrl(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).ActionExecution.BuilderlastStatusChange(Instant lastStatusChange)The last status change of the action.ActionExecution.BuilderlastUpdatedBy(String lastUpdatedBy)The ARN of the user who last changed the pipeline.ActionExecution.BuilderlogStreamARN(String logStreamARN)The Amazon Resource Name (ARN) of the log stream for the action compute.ActionExecution.BuilderpercentComplete(Integer percentComplete)A percentage of completeness of the action as it runs.ActionExecution.Builderstatus(String status)The status of the action, or for a completed action, the last status of the action.ActionExecution.Builderstatus(ActionExecutionStatus status)The status of the action, or for a completed action, the last status of the action.ActionExecution.Buildersummary(String summary)A summary of the run of the action.ActionExecution.Buildertoken(String token)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionExecutionId
ActionExecution.Builder actionExecutionId(String 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
ActionExecution.Builder status(String 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:
ActionExecutionStatus,ActionExecutionStatus
-
status
ActionExecution.Builder status(ActionExecutionStatus 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:
ActionExecutionStatus,ActionExecutionStatus
-
summary
ActionExecution.Builder summary(String 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
ActionExecution.Builder lastStatusChange(Instant 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
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
GetPipelineStatecommand. 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 theGetPipelineStatecommand. 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
ActionExecution.Builder lastUpdatedBy(String 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
ActionExecution.Builder externalExecutionId(String 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
ActionExecution.Builder 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).
- 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
ActionExecution.Builder percentComplete(Integer 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
ActionExecution.Builder errorDetails(ErrorDetails 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
default ActionExecution.Builder errorDetails(Consumer<ErrorDetails.Builder> 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.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,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:
errorDetails(ErrorDetails)
-
logStreamARN
ActionExecution.Builder logStreamARN(String logStreamARN)
The Amazon Resource Name (ARN) of the log stream for the action compute.
- Parameters:
logStreamARN- The Amazon Resource Name (ARN) of the log stream for the action compute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-