Class HistoryEvent

java.lang.Object
software.amazon.awssdk.services.sfn.model.HistoryEvent
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<HistoryEvent.Builder,HistoryEvent>

@Generated("software.amazon.awssdk:codegen") public final class HistoryEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HistoryEvent.Builder,HistoryEvent>

Contains details about the events of an execution.

See Also:
  • Method Details

    • timestamp

      public final Instant timestamp()

      The date and time the event occurred, expressed in seconds and fractional milliseconds since the Unix epoch, which is defined as January 1, 1970, at 00:00:00 Coordinated Universal Time (UTC).

      Returns:
      The date and time the event occurred, expressed in seconds and fractional milliseconds since the Unix epoch, which is defined as January 1, 1970, at 00:00:00 Coordinated Universal Time (UTC).
    • type

      public final HistoryEventType type()

      The type of the event.

      If the service returns an enum value that is not available in the current SDK version, type will return HistoryEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

      Returns:
      The type of the event.
      See Also:
    • typeAsString

      public final String typeAsString()

      The type of the event.

      If the service returns an enum value that is not available in the current SDK version, type will return HistoryEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from typeAsString().

      Returns:
      The type of the event.
      See Also:
    • id

      public final Long id()

      The id of the event. Events are numbered sequentially, starting at one.

      Returns:
      The id of the event. Events are numbered sequentially, starting at one.
    • previousEventId

      public final Long previousEventId()

      The id of the previous event.

      Returns:
      The id of the previous event.
    • activityFailedEventDetails

      public final ActivityFailedEventDetails activityFailedEventDetails()
      Returns the value of the ActivityFailedEventDetails property for this object.
      Returns:
      The value of the ActivityFailedEventDetails property for this object.
    • activityScheduleFailedEventDetails

      public final ActivityScheduleFailedEventDetails activityScheduleFailedEventDetails()

      Contains details about an activity schedule event that failed during an execution.

      Returns:
      Contains details about an activity schedule event that failed during an execution.
    • activityScheduledEventDetails

      public final ActivityScheduledEventDetails activityScheduledEventDetails()
      Returns the value of the ActivityScheduledEventDetails property for this object.
      Returns:
      The value of the ActivityScheduledEventDetails property for this object.
    • activityStartedEventDetails

      public final ActivityStartedEventDetails activityStartedEventDetails()
      Returns the value of the ActivityStartedEventDetails property for this object.
      Returns:
      The value of the ActivityStartedEventDetails property for this object.
    • activitySucceededEventDetails

      public final ActivitySucceededEventDetails activitySucceededEventDetails()
      Returns the value of the ActivitySucceededEventDetails property for this object.
      Returns:
      The value of the ActivitySucceededEventDetails property for this object.
    • activityTimedOutEventDetails

      public final ActivityTimedOutEventDetails activityTimedOutEventDetails()
      Returns the value of the ActivityTimedOutEventDetails property for this object.
      Returns:
      The value of the ActivityTimedOutEventDetails property for this object.
    • taskFailedEventDetails

      public final TaskFailedEventDetails taskFailedEventDetails()

      Contains details about the failure of a task.

      Returns:
      Contains details about the failure of a task.
    • taskScheduledEventDetails

      public final TaskScheduledEventDetails taskScheduledEventDetails()

      Contains details about a task that was scheduled.

      Returns:
      Contains details about a task that was scheduled.
    • taskStartFailedEventDetails

      public final TaskStartFailedEventDetails taskStartFailedEventDetails()

      Contains details about a task that failed to start.

      Returns:
      Contains details about a task that failed to start.
    • taskStartedEventDetails

      public final TaskStartedEventDetails taskStartedEventDetails()

      Contains details about a task that was started.

      Returns:
      Contains details about a task that was started.
    • taskSubmitFailedEventDetails

      public final TaskSubmitFailedEventDetails taskSubmitFailedEventDetails()

      Contains details about a task that where the submit failed.

      Returns:
      Contains details about a task that where the submit failed.
    • taskSubmittedEventDetails

      public final TaskSubmittedEventDetails taskSubmittedEventDetails()

      Contains details about a submitted task.

      Returns:
      Contains details about a submitted task.
    • taskSucceededEventDetails

      public final TaskSucceededEventDetails taskSucceededEventDetails()

      Contains details about a task that succeeded.

      Returns:
      Contains details about a task that succeeded.
    • taskTimedOutEventDetails

      public final TaskTimedOutEventDetails taskTimedOutEventDetails()

      Contains details about a task that timed out.

      Returns:
      Contains details about a task that timed out.
    • executionFailedEventDetails

      public final ExecutionFailedEventDetails executionFailedEventDetails()
      Returns the value of the ExecutionFailedEventDetails property for this object.
      Returns:
      The value of the ExecutionFailedEventDetails property for this object.
    • executionStartedEventDetails

      public final ExecutionStartedEventDetails executionStartedEventDetails()
      Returns the value of the ExecutionStartedEventDetails property for this object.
      Returns:
      The value of the ExecutionStartedEventDetails property for this object.
    • executionSucceededEventDetails

      public final ExecutionSucceededEventDetails executionSucceededEventDetails()
      Returns the value of the ExecutionSucceededEventDetails property for this object.
      Returns:
      The value of the ExecutionSucceededEventDetails property for this object.
    • executionAbortedEventDetails

      public final ExecutionAbortedEventDetails executionAbortedEventDetails()
      Returns the value of the ExecutionAbortedEventDetails property for this object.
      Returns:
      The value of the ExecutionAbortedEventDetails property for this object.
    • executionTimedOutEventDetails

      public final ExecutionTimedOutEventDetails executionTimedOutEventDetails()
      Returns the value of the ExecutionTimedOutEventDetails property for this object.
      Returns:
      The value of the ExecutionTimedOutEventDetails property for this object.
    • executionRedrivenEventDetails

      public final ExecutionRedrivenEventDetails executionRedrivenEventDetails()

      Contains details about the redrive attempt of an execution.

      Returns:
      Contains details about the redrive attempt of an execution.
    • mapStateStartedEventDetails

      public final MapStateStartedEventDetails mapStateStartedEventDetails()

      Contains details about Map state that was started.

      Returns:
      Contains details about Map state that was started.
    • mapIterationStartedEventDetails

      public final MapIterationEventDetails mapIterationStartedEventDetails()

      Contains details about an iteration of a Map state that was started.

      Returns:
      Contains details about an iteration of a Map state that was started.
    • mapIterationSucceededEventDetails

      public final MapIterationEventDetails mapIterationSucceededEventDetails()

      Contains details about an iteration of a Map state that succeeded.

      Returns:
      Contains details about an iteration of a Map state that succeeded.
    • mapIterationFailedEventDetails

      public final MapIterationEventDetails mapIterationFailedEventDetails()

      Contains details about an iteration of a Map state that failed.

      Returns:
      Contains details about an iteration of a Map state that failed.
    • mapIterationAbortedEventDetails

      public final MapIterationEventDetails mapIterationAbortedEventDetails()

      Contains details about an iteration of a Map state that was aborted.

      Returns:
      Contains details about an iteration of a Map state that was aborted.
    • lambdaFunctionFailedEventDetails

      public final LambdaFunctionFailedEventDetails lambdaFunctionFailedEventDetails()
      Returns the value of the LambdaFunctionFailedEventDetails property for this object.
      Returns:
      The value of the LambdaFunctionFailedEventDetails property for this object.
    • lambdaFunctionScheduleFailedEventDetails

      public final LambdaFunctionScheduleFailedEventDetails lambdaFunctionScheduleFailedEventDetails()
      Returns the value of the LambdaFunctionScheduleFailedEventDetails property for this object.
      Returns:
      The value of the LambdaFunctionScheduleFailedEventDetails property for this object.
    • lambdaFunctionScheduledEventDetails

      public final LambdaFunctionScheduledEventDetails lambdaFunctionScheduledEventDetails()
      Returns the value of the LambdaFunctionScheduledEventDetails property for this object.
      Returns:
      The value of the LambdaFunctionScheduledEventDetails property for this object.
    • lambdaFunctionStartFailedEventDetails

      public final LambdaFunctionStartFailedEventDetails lambdaFunctionStartFailedEventDetails()

      Contains details about a lambda function that failed to start during an execution.

      Returns:
      Contains details about a lambda function that failed to start during an execution.
    • lambdaFunctionSucceededEventDetails

      public final LambdaFunctionSucceededEventDetails lambdaFunctionSucceededEventDetails()

      Contains details about a Lambda function that terminated successfully during an execution.

      Returns:
      Contains details about a Lambda function that terminated successfully during an execution.
    • lambdaFunctionTimedOutEventDetails

      public final LambdaFunctionTimedOutEventDetails lambdaFunctionTimedOutEventDetails()
      Returns the value of the LambdaFunctionTimedOutEventDetails property for this object.
      Returns:
      The value of the LambdaFunctionTimedOutEventDetails property for this object.
    • stateEnteredEventDetails

      public final StateEnteredEventDetails stateEnteredEventDetails()
      Returns the value of the StateEnteredEventDetails property for this object.
      Returns:
      The value of the StateEnteredEventDetails property for this object.
    • stateExitedEventDetails

      public final StateExitedEventDetails stateExitedEventDetails()
      Returns the value of the StateExitedEventDetails property for this object.
      Returns:
      The value of the StateExitedEventDetails property for this object.
    • mapRunStartedEventDetails

      public final MapRunStartedEventDetails mapRunStartedEventDetails()

      Contains details, such as mapRunArn, and the start date and time of a Map Run. mapRunArn is the Amazon Resource Name (ARN) of the Map Run that was started.

      Returns:
      Contains details, such as mapRunArn, and the start date and time of a Map Run. mapRunArn is the Amazon Resource Name (ARN) of the Map Run that was started.
    • mapRunFailedEventDetails

      public final MapRunFailedEventDetails mapRunFailedEventDetails()

      Contains error and cause details about a Map Run that failed.

      Returns:
      Contains error and cause details about a Map Run that failed.
    • mapRunRedrivenEventDetails

      public final MapRunRedrivenEventDetails mapRunRedrivenEventDetails()

      Contains details about the redrive attempt of a Map Run.

      Returns:
      Contains details about the redrive attempt of a Map Run.
    • evaluationFailedEventDetails

      public final EvaluationFailedEventDetails evaluationFailedEventDetails()

      Contains details about an evaluation failure that occurred while processing a state.

      Returns:
      Contains details about an evaluation failure that occurred while processing a state.
    • toBuilder

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

      public static HistoryEvent.Builder builder()
    • serializableBuilderClass

      public static Class<? extends HistoryEvent.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.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.