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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHistoryEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityFailedEventDetailsactivityFailedEventDetails()Returns the value of the ActivityFailedEventDetails property for this object.ActivityScheduledEventDetailsactivityScheduledEventDetails()Returns the value of the ActivityScheduledEventDetails property for this object.ActivityScheduleFailedEventDetailsactivityScheduleFailedEventDetails()Contains details about an activity schedule event that failed during an execution.ActivityStartedEventDetailsactivityStartedEventDetails()Returns the value of the ActivityStartedEventDetails property for this object.ActivitySucceededEventDetailsactivitySucceededEventDetails()Returns the value of the ActivitySucceededEventDetails property for this object.ActivityTimedOutEventDetailsactivityTimedOutEventDetails()Returns the value of the ActivityTimedOutEventDetails property for this object.static HistoryEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExecutionAbortedEventDetailsexecutionAbortedEventDetails()Returns the value of the ExecutionAbortedEventDetails property for this object.ExecutionFailedEventDetailsexecutionFailedEventDetails()Returns the value of the ExecutionFailedEventDetails property for this object.ExecutionRedrivenEventDetailsexecutionRedrivenEventDetails()Contains details about the redrive attempt of an execution.ExecutionStartedEventDetailsexecutionStartedEventDetails()Returns the value of the ExecutionStartedEventDetails property for this object.ExecutionSucceededEventDetailsexecutionSucceededEventDetails()Returns the value of the ExecutionSucceededEventDetails property for this object.ExecutionTimedOutEventDetailsexecutionTimedOutEventDetails()Returns the value of the ExecutionTimedOutEventDetails property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Longid()The id of the event.LambdaFunctionFailedEventDetailslambdaFunctionFailedEventDetails()Returns the value of the LambdaFunctionFailedEventDetails property for this object.LambdaFunctionScheduledEventDetailslambdaFunctionScheduledEventDetails()Returns the value of the LambdaFunctionScheduledEventDetails property for this object.LambdaFunctionScheduleFailedEventDetailslambdaFunctionScheduleFailedEventDetails()Returns the value of the LambdaFunctionScheduleFailedEventDetails property for this object.LambdaFunctionStartFailedEventDetailslambdaFunctionStartFailedEventDetails()Contains details about a lambda function that failed to start during an execution.LambdaFunctionSucceededEventDetailslambdaFunctionSucceededEventDetails()Contains details about a Lambda function that terminated successfully during an execution.LambdaFunctionTimedOutEventDetailslambdaFunctionTimedOutEventDetails()Returns the value of the LambdaFunctionTimedOutEventDetails property for this object.MapIterationEventDetailsmapIterationAbortedEventDetails()Contains details about an iteration of a Map state that was aborted.MapIterationEventDetailsmapIterationFailedEventDetails()Contains details about an iteration of a Map state that failed.MapIterationEventDetailsmapIterationStartedEventDetails()Contains details about an iteration of a Map state that was started.MapIterationEventDetailsmapIterationSucceededEventDetails()Contains details about an iteration of a Map state that succeeded.MapRunFailedEventDetailsmapRunFailedEventDetails()Contains error and cause details about a Map Run that failed.MapRunRedrivenEventDetailsmapRunRedrivenEventDetails()Contains details about the redrive attempt of a Map Run.MapRunStartedEventDetailsmapRunStartedEventDetails()Contains details, such asmapRunArn, and the start date and time of a Map Run.MapStateStartedEventDetailsmapStateStartedEventDetails()Contains details about Map state that was started.LongpreviousEventId()The id of the previous event.List<SdkField<?>>sdkFields()static Class<? extends HistoryEvent.Builder>serializableBuilderClass()StateEnteredEventDetailsstateEnteredEventDetails()Returns the value of the StateEnteredEventDetails property for this object.StateExitedEventDetailsstateExitedEventDetails()Returns the value of the StateExitedEventDetails property for this object.TaskFailedEventDetailstaskFailedEventDetails()Contains details about the failure of a task.TaskScheduledEventDetailstaskScheduledEventDetails()Contains details about a task that was scheduled.TaskStartedEventDetailstaskStartedEventDetails()Contains details about a task that was started.TaskStartFailedEventDetailstaskStartFailedEventDetails()Contains details about a task that failed to start.TaskSubmitFailedEventDetailstaskSubmitFailedEventDetails()Contains details about a task that where the submit failed.TaskSubmittedEventDetailstaskSubmittedEventDetails()Contains details about a submitted task.TaskSucceededEventDetailstaskSucceededEventDetails()Contains details about a task that succeeded.TaskTimedOutEventDetailstaskTimedOutEventDetails()Contains details about a task that timed out.Instanttimestamp()The date and time the event occurred.HistoryEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.HistoryEventTypetype()The type of the event.StringtypeAsString()The type of the event.-
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
-
timestamp
public final Instant timestamp()
The date and time the event occurred.
- Returns:
- The date and time the event occurred.
-
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,
typewill returnHistoryEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the event.
- See Also:
HistoryEventType
-
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,
typewill returnHistoryEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the event.
- See Also:
HistoryEventType
-
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.mapRunArnis 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.mapRunArnis 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.
-
toBuilder
public HistoryEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<HistoryEvent.Builder,HistoryEvent>
-
builder
public static HistoryEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends HistoryEvent.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.
-
-