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:
  • Method Details

    • 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, status will return ActionExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The status of the action, or for a completed action, the last status of the action.
      See Also:
    • 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, status will return ActionExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      The status of the action, or for a completed action, the last status of the action.
      See Also:
    • 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 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

      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.
    • toBuilder

      public ActionExecution.Builder 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 interface ToCopyableBuilder<ActionExecution.Builder,ActionExecution>
      Returns:
      a builder for type T
    • builder

      public static ActionExecution.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ActionExecution.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      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 an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.