Class ActionExecution
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.ActionExecution
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ActionExecution.Builder,ActionExecution>
@Generated("software.amazon.awssdk:codegen") public final class ActionExecution extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ActionExecution.Builder,ActionExecution>
Represents information about the run of an action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceActionExecution.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionExecutionId()ID of the workflow action execution in the current stage.static ActionExecution.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorDetailserrorDetails()The details of an error returned by a URL external to Amazon Web Services.StringexternalExecutionId()The external ID of the run of the action.StringexternalExecutionUrl()The URL of a resource external to Amazon Web Services that is used when running the action (for example, an external repository URL).<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastStatusChange()The last status change of the action.StringlastUpdatedBy()The ARN of the user who last changed the pipeline.StringlogStreamARN()The Amazon Resource Name (ARN) of the log stream for the action compute.IntegerpercentComplete()A percentage of completeness of the action as it runs.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ActionExecution.Builder>serializableBuilderClass()ActionExecutionStatusstatus()The status of the action, or for a completed action, the last status of the action.StringstatusAsString()The status of the action, or for a completed action, the last status of the action.Stringsummary()A summary of the run of the action.ActionExecution.BuildertoBuilder()Stringtoken()The system-generated token used to identify a unique approval request.StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actionExecutionId
public final 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.
- 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
public final ActionExecutionStatus 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,
statuswill 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:
ActionExecutionStatus
-
statusAsString
public final String 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,
statuswill 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:
ActionExecutionStatus
-
summary
public final String summary()
A summary of the run of the action.
- Returns:
- A summary of the run of the action.
-
lastStatusChange
public final Instant lastStatusChange()
The last status change of the action.
- Returns:
- The last status change of the action.
-
token
public final 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.- Returns:
- 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.
-
lastUpdatedBy
public final String lastUpdatedBy()
The ARN of the user who last changed the pipeline.
- Returns:
- The ARN of the user who last changed the pipeline.
-
externalExecutionId
public final String externalExecutionId()
The external ID of the run of the action.
- Returns:
- The external ID of the run of the action.
-
externalExecutionUrl
public final 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).
- 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
public final Integer percentComplete()
A percentage of completeness of the action as it runs.
- Returns:
- A percentage of completeness of the action as it runs.
-
errorDetails
public final ErrorDetails 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.
-
logStreamARN
public final String logStreamARN()
The Amazon Resource Name (ARN) of the log stream for the action compute.
- Returns:
- The Amazon Resource Name (ARN) of the log stream for the action compute.
-
toBuilder
public ActionExecution.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ActionExecution.Builder,ActionExecution>
-
builder
public static ActionExecution.Builder builder()
-
serializableBuilderClass
public static Class<? extends ActionExecution.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-