Class HistoryEvent

    • Method Detail

      • 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).
      • 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.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)