Class HistoryEvent
- java.lang.Object
-
- software.amazon.awssdk.services.swf.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>
Event within a workflow execution. A history event can be one of these types:
-
ActivityTaskCancelRequested
– ARequestCancelActivityTask
decision was received by the system. -
ActivityTaskCanceled
– The activity task was successfully canceled. -
ActivityTaskCompleted
– An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted. -
ActivityTaskFailed
– An activity worker failed an activity task by calling RespondActivityTaskFailed. -
ActivityTaskScheduled
– An activity task was scheduled for execution. -
ActivityTaskStarted
– The scheduled activity task was dispatched to a worker. -
ActivityTaskTimedOut
– The activity task timed out. -
CancelTimerFailed
– Failed to process CancelTimer decision. This happens when the decision isn't configured properly, for example no timer exists with the specified timer Id. -
CancelWorkflowExecutionFailed
– A request to cancel a workflow execution failed. -
ChildWorkflowExecutionCanceled
– A child workflow execution, started by this workflow execution, was canceled and closed. -
ChildWorkflowExecutionCompleted
– A child workflow execution, started by this workflow execution, completed successfully and was closed. -
ChildWorkflowExecutionFailed
– A child workflow execution, started by this workflow execution, failed to complete successfully and was closed. -
ChildWorkflowExecutionStarted
– A child workflow execution was successfully started. -
ChildWorkflowExecutionTerminated
– A child workflow execution, started by this workflow execution, was terminated. -
ChildWorkflowExecutionTimedOut
– A child workflow execution, started by this workflow execution, timed out and was closed. -
CompleteWorkflowExecutionFailed
– The workflow execution failed to complete. -
ContinueAsNewWorkflowExecutionFailed
– The workflow execution failed to complete after being continued as a new workflow execution. -
DecisionTaskCompleted
– The decider successfully completed a decision task by calling RespondDecisionTaskCompleted. -
DecisionTaskScheduled
– A decision task was scheduled for the workflow execution. -
DecisionTaskStarted
– The decision task was dispatched to a decider. -
DecisionTaskTimedOut
– The decision task timed out. -
ExternalWorkflowExecutionCancelRequested
– Request to cancel an external workflow execution was successfully delivered to the target execution. -
ExternalWorkflowExecutionSignaled
– A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution. -
FailWorkflowExecutionFailed
– A request to mark a workflow execution as failed, itself failed. -
MarkerRecorded
– A marker was recorded in the workflow history as the result of aRecordMarker
decision. -
RecordMarkerFailed
– ARecordMarker
decision was returned as failed. -
RequestCancelActivityTaskFailed
– Failed to process RequestCancelActivityTask decision. This happens when the decision isn't configured properly. -
RequestCancelExternalWorkflowExecutionFailed
– Request to cancel an external workflow execution failed. -
RequestCancelExternalWorkflowExecutionInitiated
– A request was made to request the cancellation of an external workflow execution. -
ScheduleActivityTaskFailed
– Failed to process ScheduleActivityTask decision. This happens when the decision isn't configured properly, for example the activity type specified isn't registered. -
SignalExternalWorkflowExecutionFailed
– The request to signal an external workflow execution failed. -
SignalExternalWorkflowExecutionInitiated
– A request to signal an external workflow was made. -
StartActivityTaskFailed
– A scheduled activity task failed to start. -
StartChildWorkflowExecutionFailed
– Failed to process StartChildWorkflowExecution decision. This happens when the decision isn't configured properly, for example the workflow type specified isn't registered. -
StartChildWorkflowExecutionInitiated
– A request was made to start a child workflow execution. -
StartTimerFailed
– Failed to process StartTimer decision. This happens when the decision isn't configured properly, for example a timer already exists with the specified timer Id. -
TimerCanceled
– A timer, previously started for this workflow execution, was successfully canceled. -
TimerFired
– A timer, previously started for this workflow execution, fired. -
TimerStarted
– A timer was started for the workflow execution due to aStartTimer
decision. -
WorkflowExecutionCancelRequested
– A request to cancel this workflow execution was made. -
WorkflowExecutionCanceled
– The workflow execution was successfully canceled and closed. -
WorkflowExecutionCompleted
– The workflow execution was closed due to successful completion. -
WorkflowExecutionContinuedAsNew
– The workflow execution was closed and a new execution of the same type was created with the same workflowId. -
WorkflowExecutionFailed
– The workflow execution closed due to a failure. -
WorkflowExecutionSignaled
– An external signal was received for the workflow execution. -
WorkflowExecutionStarted
– The workflow execution was started. -
WorkflowExecutionTerminated
– The workflow execution was terminated. -
WorkflowExecutionTimedOut
– The workflow execution was closed because a time out was exceeded.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
HistoryEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes()
If the event is of typeActivityTaskCanceled
then this member is set and provides detailed information about the event.ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes()
If the event is of typeActivityTaskcancelRequested
then this member is set and provides detailed information about the event.ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes()
If the event is of typeActivityTaskCompleted
then this member is set and provides detailed information about the event.ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes()
If the event is of typeActivityTaskFailed
then this member is set and provides detailed information about the event.ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes()
If the event is of typeActivityTaskScheduled
then this member is set and provides detailed information about the event.ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes()
If the event is of typeActivityTaskStarted
then this member is set and provides detailed information about the event.ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes()
If the event is of typeActivityTaskTimedOut
then this member is set and provides detailed information about the event.static HistoryEvent.Builder
builder()
CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes()
If the event is of typeCancelTimerFailed
then this member is set and provides detailed information about the event.CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes()
If the event is of typeCancelWorkflowExecutionFailed
then this member is set and provides detailed information about the event.ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes()
If the event is of typeChildWorkflowExecutionCanceled
then this member is set and provides detailed information about the event.ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes()
If the event is of typeChildWorkflowExecutionCompleted
then this member is set and provides detailed information about the event.ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes()
If the event is of typeChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event.ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes()
If the event is of typeChildWorkflowExecutionStarted
then this member is set and provides detailed information about the event.ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes()
If the event is of typeChildWorkflowExecutionTerminated
then this member is set and provides detailed information about the event.ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes()
If the event is of typeChildWorkflowExecutionTimedOut
then this member is set and provides detailed information about the event.CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes()
If the event is of typeCompleteWorkflowExecutionFailed
then this member is set and provides detailed information about the event.ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes()
If the event is of typeContinueAsNewWorkflowExecutionFailed
then this member is set and provides detailed information about the event.DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes()
If the event is of typeDecisionTaskCompleted
then this member is set and provides detailed information about the event.DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes()
If the event is of typeDecisionTaskScheduled
then this member is set and provides detailed information about the event.DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes()
If the event is of typeDecisionTaskStarted
then this member is set and provides detailed information about the event.DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes()
If the event is of typeDecisionTaskTimedOut
then this member is set and provides detailed information about the event.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
Long
eventId()
The system generated ID of the event.Instant
eventTimestamp()
The date and time when the event occurred.EventType
eventType()
The type of the history event.String
eventTypeAsString()
The type of the history event.ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes()
If the event is of typeExternalWorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event.ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes()
If the event is of typeExternalWorkflowExecutionSignaled
then this member is set and provides detailed information about the event.FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes()
If the event is of typeFailWorkflowExecutionFailed
then this member is set and provides detailed information about the event.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes()
Provides the details of theLambdaFunctionCompleted
event.LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes()
Provides the details of theLambdaFunctionFailed
event.LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes()
Provides the details of theLambdaFunctionScheduled
event.LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes()
Provides the details of theLambdaFunctionStarted
event.LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes()
Provides the details of theLambdaFunctionTimedOut
event.MarkerRecordedEventAttributes
markerRecordedEventAttributes()
If the event is of typeMarkerRecorded
then this member is set and provides detailed information about the event.RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes()
If the event is of typeDecisionTaskFailed
then this member is set and provides detailed information about the event.RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes()
If the event is of typeRequestCancelActivityTaskFailed
then this member is set and provides detailed information about the event.RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes()
If the event is of typeRequestCancelExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes()
If the event is of typeRequestCancelExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event.ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes()
If the event is of typeScheduleActivityTaskFailed
then this member is set and provides detailed information about the event.ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes()
Provides the details of theScheduleLambdaFunctionFailed
event.List<SdkField<?>>
sdkFields()
static Class<? extends HistoryEvent.Builder>
serializableBuilderClass()
SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes()
If the event is of typeSignalExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event.SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes()
If the event is of typeSignalExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event.StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes()
If the event is of typeStartChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event.StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes()
If the event is of typeStartChildWorkflowExecutionInitiated
then this member is set and provides detailed information about the event.StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes()
Provides the details of theStartLambdaFunctionFailed
event.StartTimerFailedEventAttributes
startTimerFailedEventAttributes()
If the event is of typeStartTimerFailed
then this member is set and provides detailed information about the event.TimerCanceledEventAttributes
timerCanceledEventAttributes()
If the event is of typeTimerCanceled
then this member is set and provides detailed information about the event.TimerFiredEventAttributes
timerFiredEventAttributes()
If the event is of typeTimerFired
then this member is set and provides detailed information about the event.TimerStartedEventAttributes
timerStartedEventAttributes()
If the event is of typeTimerStarted
then this member is set and provides detailed information about the event.HistoryEvent.Builder
toBuilder()
String
toString()
Returns a string representation of this object.WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes()
If the event is of typeWorkflowExecutionCanceled
then this member is set and provides detailed information about the event.WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes()
If the event is of typeWorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event.WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes()
If the event is of typeWorkflowExecutionCompleted
then this member is set and provides detailed information about the event.WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes()
If the event is of typeWorkflowExecutionContinuedAsNew
then this member is set and provides detailed information about the event.WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes()
If the event is of typeWorkflowExecutionFailed
then this member is set and provides detailed information about the event.WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes()
If the event is of typeWorkflowExecutionSignaled
then this member is set and provides detailed information about the event.WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes()
If the event is of typeWorkflowExecutionStarted
then this member is set and provides detailed information about the event.WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes()
If the event is of typeWorkflowExecutionTerminated
then this member is set and provides detailed information about the event.WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes()
If the event is of typeWorkflowExecutionTimedOut
then this member is set and provides detailed information about 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
-
eventTimestamp
public final Instant eventTimestamp()
The date and time when the event occurred.
- Returns:
- The date and time when the event occurred.
-
eventType
public final EventType eventType()
The type of the history event.
If the service returns an enum value that is not available in the current SDK version,
eventType
will returnEventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromeventTypeAsString()
.- Returns:
- The type of the history event.
- See Also:
EventType
-
eventTypeAsString
public final String eventTypeAsString()
The type of the history event.
If the service returns an enum value that is not available in the current SDK version,
eventType
will returnEventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromeventTypeAsString()
.- Returns:
- The type of the history event.
- See Also:
EventType
-
eventId
public final Long eventId()
The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
- Returns:
- The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
-
workflowExecutionStartedEventAttributes
public final WorkflowExecutionStartedEventAttributes workflowExecutionStartedEventAttributes()
If the event is of type
WorkflowExecutionStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionCompletedEventAttributes
public final WorkflowExecutionCompletedEventAttributes workflowExecutionCompletedEventAttributes()
If the event is of type
WorkflowExecutionCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
completeWorkflowExecutionFailedEventAttributes
public final CompleteWorkflowExecutionFailedEventAttributes completeWorkflowExecutionFailedEventAttributes()
If the event is of type
CompleteWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
CompleteWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionFailedEventAttributes
public final WorkflowExecutionFailedEventAttributes workflowExecutionFailedEventAttributes()
If the event is of type
WorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
failWorkflowExecutionFailedEventAttributes
public final FailWorkflowExecutionFailedEventAttributes failWorkflowExecutionFailedEventAttributes()
If the event is of type
FailWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
FailWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionTimedOutEventAttributes
public final WorkflowExecutionTimedOutEventAttributes workflowExecutionTimedOutEventAttributes()
If the event is of type
WorkflowExecutionTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionCanceledEventAttributes
public final WorkflowExecutionCanceledEventAttributes workflowExecutionCanceledEventAttributes()
If the event is of type
WorkflowExecutionCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
cancelWorkflowExecutionFailedEventAttributes
public final CancelWorkflowExecutionFailedEventAttributes cancelWorkflowExecutionFailedEventAttributes()
If the event is of type
CancelWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
CancelWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionContinuedAsNewEventAttributes
public final WorkflowExecutionContinuedAsNewEventAttributes workflowExecutionContinuedAsNewEventAttributes()
If the event is of type
WorkflowExecutionContinuedAsNew
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionContinuedAsNew
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
continueAsNewWorkflowExecutionFailedEventAttributes
public final ContinueAsNewWorkflowExecutionFailedEventAttributes continueAsNewWorkflowExecutionFailedEventAttributes()
If the event is of type
ContinueAsNewWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ContinueAsNewWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionTerminatedEventAttributes
public final WorkflowExecutionTerminatedEventAttributes workflowExecutionTerminatedEventAttributes()
If the event is of type
WorkflowExecutionTerminated
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionTerminated
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionCancelRequestedEventAttributes
public final WorkflowExecutionCancelRequestedEventAttributes workflowExecutionCancelRequestedEventAttributes()
If the event is of type
WorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
decisionTaskScheduledEventAttributes
public final DecisionTaskScheduledEventAttributes decisionTaskScheduledEventAttributes()
If the event is of type
DecisionTaskScheduled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
DecisionTaskScheduled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
decisionTaskStartedEventAttributes
public final DecisionTaskStartedEventAttributes decisionTaskStartedEventAttributes()
If the event is of type
DecisionTaskStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
DecisionTaskStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
decisionTaskCompletedEventAttributes
public final DecisionTaskCompletedEventAttributes decisionTaskCompletedEventAttributes()
If the event is of type
DecisionTaskCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
DecisionTaskCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
decisionTaskTimedOutEventAttributes
public final DecisionTaskTimedOutEventAttributes decisionTaskTimedOutEventAttributes()
If the event is of type
DecisionTaskTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
DecisionTaskTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskScheduledEventAttributes
public final ActivityTaskScheduledEventAttributes activityTaskScheduledEventAttributes()
If the event is of type
ActivityTaskScheduled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskScheduled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskStartedEventAttributes
public final ActivityTaskStartedEventAttributes activityTaskStartedEventAttributes()
If the event is of type
ActivityTaskStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskCompletedEventAttributes
public final ActivityTaskCompletedEventAttributes activityTaskCompletedEventAttributes()
If the event is of type
ActivityTaskCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskFailedEventAttributes
public final ActivityTaskFailedEventAttributes activityTaskFailedEventAttributes()
If the event is of type
ActivityTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskTimedOutEventAttributes
public final ActivityTaskTimedOutEventAttributes activityTaskTimedOutEventAttributes()
If the event is of type
ActivityTaskTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskCanceledEventAttributes
public final ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes()
If the event is of type
ActivityTaskCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
activityTaskCancelRequestedEventAttributes
public final ActivityTaskCancelRequestedEventAttributes activityTaskCancelRequestedEventAttributes()
If the event is of type
ActivityTaskcancelRequested
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ActivityTaskcancelRequested
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
workflowExecutionSignaledEventAttributes
public final WorkflowExecutionSignaledEventAttributes workflowExecutionSignaledEventAttributes()
If the event is of type
WorkflowExecutionSignaled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
WorkflowExecutionSignaled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
markerRecordedEventAttributes
public final MarkerRecordedEventAttributes markerRecordedEventAttributes()
If the event is of type
MarkerRecorded
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
MarkerRecorded
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
recordMarkerFailedEventAttributes
public final RecordMarkerFailedEventAttributes recordMarkerFailedEventAttributes()
If the event is of type
DecisionTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
DecisionTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
timerStartedEventAttributes
public final TimerStartedEventAttributes timerStartedEventAttributes()
If the event is of type
TimerStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
TimerStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
timerFiredEventAttributes
public final TimerFiredEventAttributes timerFiredEventAttributes()
If the event is of type
TimerFired
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
TimerFired
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
timerCanceledEventAttributes
public final TimerCanceledEventAttributes timerCanceledEventAttributes()
If the event is of type
TimerCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
TimerCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
startChildWorkflowExecutionInitiatedEventAttributes
public final StartChildWorkflowExecutionInitiatedEventAttributes startChildWorkflowExecutionInitiatedEventAttributes()
If the event is of type
StartChildWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
StartChildWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
childWorkflowExecutionStartedEventAttributes
public final ChildWorkflowExecutionStartedEventAttributes childWorkflowExecutionStartedEventAttributes()
If the event is of type
ChildWorkflowExecutionStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ChildWorkflowExecutionStarted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
childWorkflowExecutionCompletedEventAttributes
public final ChildWorkflowExecutionCompletedEventAttributes childWorkflowExecutionCompletedEventAttributes()
If the event is of type
ChildWorkflowExecutionCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ChildWorkflowExecutionCompleted
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
childWorkflowExecutionFailedEventAttributes
public final ChildWorkflowExecutionFailedEventAttributes childWorkflowExecutionFailedEventAttributes()
If the event is of type
ChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
childWorkflowExecutionTimedOutEventAttributes
public final ChildWorkflowExecutionTimedOutEventAttributes childWorkflowExecutionTimedOutEventAttributes()
If the event is of type
ChildWorkflowExecutionTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ChildWorkflowExecutionTimedOut
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
childWorkflowExecutionCanceledEventAttributes
public final ChildWorkflowExecutionCanceledEventAttributes childWorkflowExecutionCanceledEventAttributes()
If the event is of type
ChildWorkflowExecutionCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ChildWorkflowExecutionCanceled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
childWorkflowExecutionTerminatedEventAttributes
public final ChildWorkflowExecutionTerminatedEventAttributes childWorkflowExecutionTerminatedEventAttributes()
If the event is of type
ChildWorkflowExecutionTerminated
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ChildWorkflowExecutionTerminated
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
signalExternalWorkflowExecutionInitiatedEventAttributes
public final SignalExternalWorkflowExecutionInitiatedEventAttributes signalExternalWorkflowExecutionInitiatedEventAttributes()
If the event is of type
SignalExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
SignalExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
externalWorkflowExecutionSignaledEventAttributes
public final ExternalWorkflowExecutionSignaledEventAttributes externalWorkflowExecutionSignaledEventAttributes()
If the event is of type
ExternalWorkflowExecutionSignaled
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ExternalWorkflowExecutionSignaled
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
signalExternalWorkflowExecutionFailedEventAttributes
public final SignalExternalWorkflowExecutionFailedEventAttributes signalExternalWorkflowExecutionFailedEventAttributes()
If the event is of type
SignalExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
SignalExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
externalWorkflowExecutionCancelRequestedEventAttributes
public final ExternalWorkflowExecutionCancelRequestedEventAttributes externalWorkflowExecutionCancelRequestedEventAttributes()
If the event is of type
ExternalWorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ExternalWorkflowExecutionCancelRequested
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
requestCancelExternalWorkflowExecutionInitiatedEventAttributes
public final RequestCancelExternalWorkflowExecutionInitiatedEventAttributes requestCancelExternalWorkflowExecutionInitiatedEventAttributes()
If the event is of type
RequestCancelExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
RequestCancelExternalWorkflowExecutionInitiated
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
requestCancelExternalWorkflowExecutionFailedEventAttributes
public final RequestCancelExternalWorkflowExecutionFailedEventAttributes requestCancelExternalWorkflowExecutionFailedEventAttributes()
If the event is of type
RequestCancelExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
RequestCancelExternalWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
scheduleActivityTaskFailedEventAttributes
public final ScheduleActivityTaskFailedEventAttributes scheduleActivityTaskFailedEventAttributes()
If the event is of type
ScheduleActivityTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
ScheduleActivityTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
requestCancelActivityTaskFailedEventAttributes
public final RequestCancelActivityTaskFailedEventAttributes requestCancelActivityTaskFailedEventAttributes()
If the event is of type
RequestCancelActivityTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
RequestCancelActivityTaskFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
startTimerFailedEventAttributes
public final StartTimerFailedEventAttributes startTimerFailedEventAttributes()
If the event is of type
StartTimerFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
StartTimerFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
cancelTimerFailedEventAttributes
public final CancelTimerFailedEventAttributes cancelTimerFailedEventAttributes()
If the event is of type
CancelTimerFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
CancelTimerFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
startChildWorkflowExecutionFailedEventAttributes
public final StartChildWorkflowExecutionFailedEventAttributes startChildWorkflowExecutionFailedEventAttributes()
If the event is of type
StartChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.- Returns:
- If the event is of type
StartChildWorkflowExecutionFailed
then this member is set and provides detailed information about the event. It isn't set for other event types.
-
lambdaFunctionScheduledEventAttributes
public final LambdaFunctionScheduledEventAttributes lambdaFunctionScheduledEventAttributes()
Provides the details of the
LambdaFunctionScheduled
event. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionScheduled
event. It isn't set for other event types.
-
lambdaFunctionStartedEventAttributes
public final LambdaFunctionStartedEventAttributes lambdaFunctionStartedEventAttributes()
Provides the details of the
LambdaFunctionStarted
event. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionStarted
event. It isn't set for other event types.
-
lambdaFunctionCompletedEventAttributes
public final LambdaFunctionCompletedEventAttributes lambdaFunctionCompletedEventAttributes()
Provides the details of the
LambdaFunctionCompleted
event. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionCompleted
event. It isn't set for other event types.
-
lambdaFunctionFailedEventAttributes
public final LambdaFunctionFailedEventAttributes lambdaFunctionFailedEventAttributes()
Provides the details of the
LambdaFunctionFailed
event. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionFailed
event. It isn't set for other event types.
-
lambdaFunctionTimedOutEventAttributes
public final LambdaFunctionTimedOutEventAttributes lambdaFunctionTimedOutEventAttributes()
Provides the details of the
LambdaFunctionTimedOut
event. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionTimedOut
event. It isn't set for other event types.
-
scheduleLambdaFunctionFailedEventAttributes
public final ScheduleLambdaFunctionFailedEventAttributes scheduleLambdaFunctionFailedEventAttributes()
Provides the details of the
ScheduleLambdaFunctionFailed
event. It isn't set for other event types.- Returns:
- Provides the details of the
ScheduleLambdaFunctionFailed
event. It isn't set for other event types.
-
startLambdaFunctionFailedEventAttributes
public final StartLambdaFunctionFailedEventAttributes startLambdaFunctionFailedEventAttributes()
Provides the details of the
StartLambdaFunctionFailed
event. It isn't set for other event types.- Returns:
- Provides the details of the
StartLambdaFunctionFailed
event. It isn't set for other event types.
-
toBuilder
public HistoryEvent.Builder toBuilder()
- Specified by:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
-