Class ActionExecution
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ActionExecution.Builder,
ActionExecution>
Represents information about the run of an action.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
ID of the workflow action execution in the current stage.static ActionExecution.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final ErrorDetails
The details of an error returned by a URL external to Amazon Web Services.final String
The external ID of the run of the action.final String
The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The last status change of the action.final String
The ARN of the user who last changed the pipeline.final Integer
A percentage of completeness of the action as it runs.static Class
<? extends ActionExecution.Builder> final ActionExecutionStatus
status()
The status of the action, or for a completed action, the last status of the action.final String
The status of the action, or for a completed action, the last status of the action.final String
summary()
A summary of the run of the action.Take this object and create a builder that contains all of the current property values of this object.final String
token()
The system-generated token used to identify a unique approval request.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
status
The status of the action, or for a completed action, the last status of the action.
If the service returns an enum value that is not available in the current SDK version,
status
will returnActionExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the action, or for a completed action, the last status of the action.
- See Also:
-
statusAsString
The status of the action, or for a completed action, the last status of the action.
If the service returns an enum value that is not available in the current SDK version,
status
will returnActionExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the action, or for a completed action, the last status of the action.
- See Also:
-
summary
A summary of the run of the action.
- Returns:
- A summary of the run of the action.
-
lastStatusChange
The last status change of the action.
- Returns:
- The last status change of the action.
-
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.- Returns:
- 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.
-
lastUpdatedBy
The ARN of the user who last changed the pipeline.
- Returns:
- The ARN of the user who last changed the pipeline.
-
externalExecutionId
The external ID of the run of the action.
- Returns:
- The external ID of the run of the action.
-
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:
- The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).
-
percentComplete
A percentage of completeness of the action as it runs.
- Returns:
- A percentage of completeness of the action as it runs.
-
errorDetails
The details of an error returned by a URL external to Amazon Web Services.
- Returns:
- The details of an error returned by a URL external to Amazon Web Services.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ActionExecution.Builder,
ActionExecution> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-