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– ARequestCancelActivityTaskdecision 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 aRecordMarkerdecision. -
RecordMarkerFailed– ARecordMarkerdecision 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 aStartTimerdecision. -
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 interfaceHistoryEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActivityTaskCanceledEventAttributesactivityTaskCanceledEventAttributes()If the event is of typeActivityTaskCanceledthen this member is set and provides detailed information about the event.ActivityTaskCancelRequestedEventAttributesactivityTaskCancelRequestedEventAttributes()If the event is of typeActivityTaskcancelRequestedthen this member is set and provides detailed information about the event.ActivityTaskCompletedEventAttributesactivityTaskCompletedEventAttributes()If the event is of typeActivityTaskCompletedthen this member is set and provides detailed information about the event.ActivityTaskFailedEventAttributesactivityTaskFailedEventAttributes()If the event is of typeActivityTaskFailedthen this member is set and provides detailed information about the event.ActivityTaskScheduledEventAttributesactivityTaskScheduledEventAttributes()If the event is of typeActivityTaskScheduledthen this member is set and provides detailed information about the event.ActivityTaskStartedEventAttributesactivityTaskStartedEventAttributes()If the event is of typeActivityTaskStartedthen this member is set and provides detailed information about the event.ActivityTaskTimedOutEventAttributesactivityTaskTimedOutEventAttributes()If the event is of typeActivityTaskTimedOutthen this member is set and provides detailed information about the event.static HistoryEvent.Builderbuilder()CancelTimerFailedEventAttributescancelTimerFailedEventAttributes()If the event is of typeCancelTimerFailedthen this member is set and provides detailed information about the event.CancelWorkflowExecutionFailedEventAttributescancelWorkflowExecutionFailedEventAttributes()If the event is of typeCancelWorkflowExecutionFailedthen this member is set and provides detailed information about the event.ChildWorkflowExecutionCanceledEventAttributeschildWorkflowExecutionCanceledEventAttributes()If the event is of typeChildWorkflowExecutionCanceledthen this member is set and provides detailed information about the event.ChildWorkflowExecutionCompletedEventAttributeschildWorkflowExecutionCompletedEventAttributes()If the event is of typeChildWorkflowExecutionCompletedthen this member is set and provides detailed information about the event.ChildWorkflowExecutionFailedEventAttributeschildWorkflowExecutionFailedEventAttributes()If the event is of typeChildWorkflowExecutionFailedthen this member is set and provides detailed information about the event.ChildWorkflowExecutionStartedEventAttributeschildWorkflowExecutionStartedEventAttributes()If the event is of typeChildWorkflowExecutionStartedthen this member is set and provides detailed information about the event.ChildWorkflowExecutionTerminatedEventAttributeschildWorkflowExecutionTerminatedEventAttributes()If the event is of typeChildWorkflowExecutionTerminatedthen this member is set and provides detailed information about the event.ChildWorkflowExecutionTimedOutEventAttributeschildWorkflowExecutionTimedOutEventAttributes()If the event is of typeChildWorkflowExecutionTimedOutthen this member is set and provides detailed information about the event.CompleteWorkflowExecutionFailedEventAttributescompleteWorkflowExecutionFailedEventAttributes()If the event is of typeCompleteWorkflowExecutionFailedthen this member is set and provides detailed information about the event.ContinueAsNewWorkflowExecutionFailedEventAttributescontinueAsNewWorkflowExecutionFailedEventAttributes()If the event is of typeContinueAsNewWorkflowExecutionFailedthen this member is set and provides detailed information about the event.DecisionTaskCompletedEventAttributesdecisionTaskCompletedEventAttributes()If the event is of typeDecisionTaskCompletedthen this member is set and provides detailed information about the event.DecisionTaskScheduledEventAttributesdecisionTaskScheduledEventAttributes()If the event is of typeDecisionTaskScheduledthen this member is set and provides detailed information about the event.DecisionTaskStartedEventAttributesdecisionTaskStartedEventAttributes()If the event is of typeDecisionTaskStartedthen this member is set and provides detailed information about the event.DecisionTaskTimedOutEventAttributesdecisionTaskTimedOutEventAttributes()If the event is of typeDecisionTaskTimedOutthen this member is set and provides detailed information about the event.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongeventId()The system generated ID of the event.InstanteventTimestamp()The date and time when the event occurred.EventTypeeventType()The type of the history event.StringeventTypeAsString()The type of the history event.ExternalWorkflowExecutionCancelRequestedEventAttributesexternalWorkflowExecutionCancelRequestedEventAttributes()If the event is of typeExternalWorkflowExecutionCancelRequestedthen this member is set and provides detailed information about the event.ExternalWorkflowExecutionSignaledEventAttributesexternalWorkflowExecutionSignaledEventAttributes()If the event is of typeExternalWorkflowExecutionSignaledthen this member is set and provides detailed information about the event.FailWorkflowExecutionFailedEventAttributesfailWorkflowExecutionFailedEventAttributes()If the event is of typeFailWorkflowExecutionFailedthen this member is set and provides detailed information about the event.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LambdaFunctionCompletedEventAttributeslambdaFunctionCompletedEventAttributes()Provides the details of theLambdaFunctionCompletedevent.LambdaFunctionFailedEventAttributeslambdaFunctionFailedEventAttributes()Provides the details of theLambdaFunctionFailedevent.LambdaFunctionScheduledEventAttributeslambdaFunctionScheduledEventAttributes()Provides the details of theLambdaFunctionScheduledevent.LambdaFunctionStartedEventAttributeslambdaFunctionStartedEventAttributes()Provides the details of theLambdaFunctionStartedevent.LambdaFunctionTimedOutEventAttributeslambdaFunctionTimedOutEventAttributes()Provides the details of theLambdaFunctionTimedOutevent.MarkerRecordedEventAttributesmarkerRecordedEventAttributes()If the event is of typeMarkerRecordedthen this member is set and provides detailed information about the event.RecordMarkerFailedEventAttributesrecordMarkerFailedEventAttributes()If the event is of typeDecisionTaskFailedthen this member is set and provides detailed information about the event.RequestCancelActivityTaskFailedEventAttributesrequestCancelActivityTaskFailedEventAttributes()If the event is of typeRequestCancelActivityTaskFailedthen this member is set and provides detailed information about the event.RequestCancelExternalWorkflowExecutionFailedEventAttributesrequestCancelExternalWorkflowExecutionFailedEventAttributes()If the event is of typeRequestCancelExternalWorkflowExecutionFailedthen this member is set and provides detailed information about the event.RequestCancelExternalWorkflowExecutionInitiatedEventAttributesrequestCancelExternalWorkflowExecutionInitiatedEventAttributes()If the event is of typeRequestCancelExternalWorkflowExecutionInitiatedthen this member is set and provides detailed information about the event.ScheduleActivityTaskFailedEventAttributesscheduleActivityTaskFailedEventAttributes()If the event is of typeScheduleActivityTaskFailedthen this member is set and provides detailed information about the event.ScheduleLambdaFunctionFailedEventAttributesscheduleLambdaFunctionFailedEventAttributes()Provides the details of theScheduleLambdaFunctionFailedevent.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends HistoryEvent.Builder>serializableBuilderClass()SignalExternalWorkflowExecutionFailedEventAttributessignalExternalWorkflowExecutionFailedEventAttributes()If the event is of typeSignalExternalWorkflowExecutionFailedthen this member is set and provides detailed information about the event.SignalExternalWorkflowExecutionInitiatedEventAttributessignalExternalWorkflowExecutionInitiatedEventAttributes()If the event is of typeSignalExternalWorkflowExecutionInitiatedthen this member is set and provides detailed information about the event.StartChildWorkflowExecutionFailedEventAttributesstartChildWorkflowExecutionFailedEventAttributes()If the event is of typeStartChildWorkflowExecutionFailedthen this member is set and provides detailed information about the event.StartChildWorkflowExecutionInitiatedEventAttributesstartChildWorkflowExecutionInitiatedEventAttributes()If the event is of typeStartChildWorkflowExecutionInitiatedthen this member is set and provides detailed information about the event.StartLambdaFunctionFailedEventAttributesstartLambdaFunctionFailedEventAttributes()Provides the details of theStartLambdaFunctionFailedevent.StartTimerFailedEventAttributesstartTimerFailedEventAttributes()If the event is of typeStartTimerFailedthen this member is set and provides detailed information about the event.TimerCanceledEventAttributestimerCanceledEventAttributes()If the event is of typeTimerCanceledthen this member is set and provides detailed information about the event.TimerFiredEventAttributestimerFiredEventAttributes()If the event is of typeTimerFiredthen this member is set and provides detailed information about the event.TimerStartedEventAttributestimerStartedEventAttributes()If the event is of typeTimerStartedthen this member is set and provides detailed information about the event.HistoryEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.WorkflowExecutionCanceledEventAttributesworkflowExecutionCanceledEventAttributes()If the event is of typeWorkflowExecutionCanceledthen this member is set and provides detailed information about the event.WorkflowExecutionCancelRequestedEventAttributesworkflowExecutionCancelRequestedEventAttributes()If the event is of typeWorkflowExecutionCancelRequestedthen this member is set and provides detailed information about the event.WorkflowExecutionCompletedEventAttributesworkflowExecutionCompletedEventAttributes()If the event is of typeWorkflowExecutionCompletedthen this member is set and provides detailed information about the event.WorkflowExecutionContinuedAsNewEventAttributesworkflowExecutionContinuedAsNewEventAttributes()If the event is of typeWorkflowExecutionContinuedAsNewthen this member is set and provides detailed information about the event.WorkflowExecutionFailedEventAttributesworkflowExecutionFailedEventAttributes()If the event is of typeWorkflowExecutionFailedthen this member is set and provides detailed information about the event.WorkflowExecutionSignaledEventAttributesworkflowExecutionSignaledEventAttributes()If the event is of typeWorkflowExecutionSignaledthen this member is set and provides detailed information about the event.WorkflowExecutionStartedEventAttributesworkflowExecutionStartedEventAttributes()If the event is of typeWorkflowExecutionStartedthen this member is set and provides detailed information about the event.WorkflowExecutionTerminatedEventAttributesworkflowExecutionTerminatedEventAttributes()If the event is of typeWorkflowExecutionTerminatedthen this member is set and provides detailed information about the event.WorkflowExecutionTimedOutEventAttributesworkflowExecutionTimedOutEventAttributes()If the event is of typeWorkflowExecutionTimedOutthen 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,
eventTypewill 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,
eventTypewill 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
WorkflowExecutionStartedthen 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
WorkflowExecutionStartedthen 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
WorkflowExecutionCompletedthen 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
WorkflowExecutionCompletedthen 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
CompleteWorkflowExecutionFailedthen 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
CompleteWorkflowExecutionFailedthen 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
WorkflowExecutionFailedthen 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
WorkflowExecutionFailedthen 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
FailWorkflowExecutionFailedthen 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
FailWorkflowExecutionFailedthen 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
WorkflowExecutionTimedOutthen 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
WorkflowExecutionTimedOutthen 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
WorkflowExecutionCanceledthen 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
WorkflowExecutionCanceledthen 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
CancelWorkflowExecutionFailedthen 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
CancelWorkflowExecutionFailedthen 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
WorkflowExecutionContinuedAsNewthen 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
WorkflowExecutionContinuedAsNewthen 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
ContinueAsNewWorkflowExecutionFailedthen 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
ContinueAsNewWorkflowExecutionFailedthen 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
WorkflowExecutionTerminatedthen 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
WorkflowExecutionTerminatedthen 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
WorkflowExecutionCancelRequestedthen 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
WorkflowExecutionCancelRequestedthen 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
DecisionTaskScheduledthen 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
DecisionTaskScheduledthen 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
DecisionTaskStartedthen 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
DecisionTaskStartedthen 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
DecisionTaskCompletedthen 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
DecisionTaskCompletedthen 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
DecisionTaskTimedOutthen 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
DecisionTaskTimedOutthen 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
ActivityTaskScheduledthen 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
ActivityTaskScheduledthen 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
ActivityTaskStartedthen 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
ActivityTaskStartedthen 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
ActivityTaskCompletedthen 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
ActivityTaskCompletedthen 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
ActivityTaskFailedthen 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
ActivityTaskFailedthen 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
ActivityTaskTimedOutthen 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
ActivityTaskTimedOutthen 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
ActivityTaskCanceledthen 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
ActivityTaskCanceledthen 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
ActivityTaskcancelRequestedthen 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
ActivityTaskcancelRequestedthen 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
WorkflowExecutionSignaledthen 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
WorkflowExecutionSignaledthen 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
MarkerRecordedthen 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
MarkerRecordedthen 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
DecisionTaskFailedthen 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
DecisionTaskFailedthen 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
TimerStartedthen 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
TimerStartedthen 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
TimerFiredthen 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
TimerFiredthen 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
TimerCanceledthen 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
TimerCanceledthen 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
StartChildWorkflowExecutionInitiatedthen 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
StartChildWorkflowExecutionInitiatedthen 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
ChildWorkflowExecutionStartedthen 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
ChildWorkflowExecutionStartedthen 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
ChildWorkflowExecutionCompletedthen 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
ChildWorkflowExecutionCompletedthen 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
ChildWorkflowExecutionFailedthen 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
ChildWorkflowExecutionFailedthen 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
ChildWorkflowExecutionTimedOutthen 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
ChildWorkflowExecutionTimedOutthen 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
ChildWorkflowExecutionCanceledthen 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
ChildWorkflowExecutionCanceledthen 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
ChildWorkflowExecutionTerminatedthen 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
ChildWorkflowExecutionTerminatedthen 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
SignalExternalWorkflowExecutionInitiatedthen 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
SignalExternalWorkflowExecutionInitiatedthen 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
ExternalWorkflowExecutionSignaledthen 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
ExternalWorkflowExecutionSignaledthen 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
SignalExternalWorkflowExecutionFailedthen 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
SignalExternalWorkflowExecutionFailedthen 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
ExternalWorkflowExecutionCancelRequestedthen 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
ExternalWorkflowExecutionCancelRequestedthen 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
RequestCancelExternalWorkflowExecutionInitiatedthen 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
RequestCancelExternalWorkflowExecutionInitiatedthen 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
RequestCancelExternalWorkflowExecutionFailedthen 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
RequestCancelExternalWorkflowExecutionFailedthen 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
ScheduleActivityTaskFailedthen 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
ScheduleActivityTaskFailedthen 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
RequestCancelActivityTaskFailedthen 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
RequestCancelActivityTaskFailedthen 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
StartTimerFailedthen 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
StartTimerFailedthen 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
CancelTimerFailedthen 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
CancelTimerFailedthen 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
StartChildWorkflowExecutionFailedthen 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
StartChildWorkflowExecutionFailedthen 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
LambdaFunctionScheduledevent. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionScheduledevent. It isn't set for other event types.
-
lambdaFunctionStartedEventAttributes
public final LambdaFunctionStartedEventAttributes lambdaFunctionStartedEventAttributes()
Provides the details of the
LambdaFunctionStartedevent. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionStartedevent. It isn't set for other event types.
-
lambdaFunctionCompletedEventAttributes
public final LambdaFunctionCompletedEventAttributes lambdaFunctionCompletedEventAttributes()
Provides the details of the
LambdaFunctionCompletedevent. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionCompletedevent. It isn't set for other event types.
-
lambdaFunctionFailedEventAttributes
public final LambdaFunctionFailedEventAttributes lambdaFunctionFailedEventAttributes()
Provides the details of the
LambdaFunctionFailedevent. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionFailedevent. It isn't set for other event types.
-
lambdaFunctionTimedOutEventAttributes
public final LambdaFunctionTimedOutEventAttributes lambdaFunctionTimedOutEventAttributes()
Provides the details of the
LambdaFunctionTimedOutevent. It isn't set for other event types.- Returns:
- Provides the details of the
LambdaFunctionTimedOutevent. It isn't set for other event types.
-
scheduleLambdaFunctionFailedEventAttributes
public final ScheduleLambdaFunctionFailedEventAttributes scheduleLambdaFunctionFailedEventAttributes()
Provides the details of the
ScheduleLambdaFunctionFailedevent. It isn't set for other event types.- Returns:
- Provides the details of the
ScheduleLambdaFunctionFailedevent. It isn't set for other event types.
-
startLambdaFunctionFailedEventAttributes
public final StartLambdaFunctionFailedEventAttributes startLambdaFunctionFailedEventAttributes()
Provides the details of the
StartLambdaFunctionFailedevent. It isn't set for other event types.- Returns:
- Provides the details of the
StartLambdaFunctionFailedevent. It isn't set for other event types.
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-