Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
   /*
    * Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License").
    * You may not use this file except in compliance with the License.
    * A copy of the License is located at
    * 
    *  http://aws.amazon.com/apache2.0
    * 
   * or in the "license" file accompanying this file. This file is distributed
   * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
   * express or implied. See the License for the specific language governing
   * permissions and limitations under the License.
   */
  package com.amazonaws.services.simpleworkflow.model;
  

Event within a workflow execution. A history event can be one of these types:

  • WorkflowExecutionStarted : The workflow execution was started.
  • WorkflowExecutionCompleted : The workflow execution was closed due to successful completion.
  • WorkflowExecutionFailed : The workflow execution closed due to a failure.
  • WorkflowExecutionTimedOut : The workflow execution was closed because a time out was exceeded.
  • WorkflowExecutionCanceled : The workflow execution was successfully canceled and closed.
  • WorkflowExecutionTerminated : The workflow execution was terminated.
  • WorkflowExecutionContinuedAsNew : The workflow execution was closed and a new execution of the same type was created with the same workflowId.
  • WorkflowExecutionCancelRequested : A request to cancel this workflow execution was made.
  • DecisionTaskScheduled : A decision task was scheduled for the workflow execution.
  • DecisionTaskStarted : The decision task was dispatched to a decider.
  • DecisionTaskCompleted : The decider successfully completed a decision task by calling RespondDecisionTaskCompleted.
  • DecisionTaskTimedOut : The decision task timed out.
  • ActivityTaskScheduled : An activity task was scheduled for execution.
  • ScheduleActivityTaskFailed : Failed to process ScheduleActivityTask decision. This happens when the decision is not configured properly, for example the activity type specified is not registered.
  • ActivityTaskStarted : The scheduled activity task was dispatched to a worker.
  • ActivityTaskCompleted : An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted.
  • ActivityTaskFailed : An activity worker failed an activity task by calling RespondActivityTaskFailed.
  • ActivityTaskTimedOut : The activity task timed out.
  • ActivityTaskCanceled : The activity task was successfully canceled.
  • ActivityTaskCancelRequested : A RequestCancelActivityTask decision was received by the system.
  • RequestCancelActivityTaskFailed : Failed to process RequestCancelActivityTask decision. This happens when the decision is not configured properly.
  • WorkflowExecutionSignaled : An external signal was received for the workflow execution.
  • MarkerRecorded : A marker was recorded in the workflow history as the result of a RecordMarker decision.
  • TimerStarted : A timer was started for the workflow execution due to a StartTimer decision.
  • StartTimerFailed : Failed to process StartTimer decision. This happens when the decision is not configured properly, for example a timer already exists with the specified timer Id.
  • TimerFired : A timer, previously started for this workflow execution, fired.
  • TimerCanceled : A timer, previously started for this workflow execution, was successfully canceled.
  • CancelTimerFailed : Failed to process CancelTimer decision. This happens when the decision is not configured properly, for example no timer exists with the specified timer Id.
  • StartChildWorkflowExecutionInitiated : A request was made to start a child workflow execution.
  • StartChildWorkflowExecutionFailed : Failed to process StartChildWorkflowExecution decision. This happens when the decision is not configured properly, for example the workflow type specified is not registered.
  • ChildWorkflowExecutionStarted : A child workflow execution was successfully started.
  • 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.
  • ChildWorkflowExecutionTimedOut : A child workflow execution, started by this workflow execution, timed out and was closed.
  • ChildWorkflowExecutionCanceled : A child workflow execution, started by this workflow execution, was canceled and closed.
  • ChildWorkflowExecutionTerminated : A child workflow execution, started by this workflow execution, was terminated.
  • SignalExternalWorkflowExecutionInitiated : A request to signal an external workflow was made.
  • ExternalWorkflowExecutionSignaled : A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution.
  • SignalExternalWorkflowExecutionFailed : The request to signal an external workflow execution failed.
  • RequestCancelExternalWorkflowExecutionInitiated : A request was made to request the cancellation of an external workflow execution.
  • ExternalWorkflowExecutionCancelRequested : Request to cancel an external workflow execution was successfully delivered to the target execution.
  • RequestCancelExternalWorkflowExecutionFailed : Request to cancel an external workflow execution failed.
 
 public class HistoryEvent implements SerializableCloneable {

    
The date and time when the event occurred.
 
     private java.util.Date eventTimestamp;

    
The type of the history event.

Constraints:
Allowed Values: WorkflowExecutionStarted, WorkflowExecutionCancelRequested, WorkflowExecutionCompleted, CompleteWorkflowExecutionFailed, WorkflowExecutionFailed, FailWorkflowExecutionFailed, WorkflowExecutionTimedOut, WorkflowExecutionCanceled, CancelWorkflowExecutionFailed, WorkflowExecutionContinuedAsNew, ContinueAsNewWorkflowExecutionFailed, WorkflowExecutionTerminated, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, ActivityTaskScheduled, ScheduleActivityTaskFailed, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCanceled, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, WorkflowExecutionSignaled, MarkerRecorded, RecordMarkerFailed, TimerStarted, StartTimerFailed, TimerFired, TimerCanceled, CancelTimerFailed, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested

 
     private String eventType;

    
The system generated id of the event. This id uniquely identifies the event with in the workflow execution history.
 
     private Long eventId;

    
If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
The date and time when the event occurred.

Returns:
The date and time when the event occurred.
 
     public java.util.Date getEventTimestamp() {
         return ;
     }
    
    
The date and time when the event occurred.

Parameters:
eventTimestamp The date and time when the event occurred.
 
     public void setEventTimestamp(java.util.Date eventTimestamp) {
         this. = eventTimestamp;
     }
    
    
The date and time when the event occurred.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventTimestamp The date and time when the event occurred.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withEventTimestamp(java.util.Date eventTimestamp) {
         this. = eventTimestamp;
         return this;
     }

    
The type of the history event.

Constraints:
Allowed Values: WorkflowExecutionStarted, WorkflowExecutionCancelRequested, WorkflowExecutionCompleted, CompleteWorkflowExecutionFailed, WorkflowExecutionFailed, FailWorkflowExecutionFailed, WorkflowExecutionTimedOut, WorkflowExecutionCanceled, CancelWorkflowExecutionFailed, WorkflowExecutionContinuedAsNew, ContinueAsNewWorkflowExecutionFailed, WorkflowExecutionTerminated, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, ActivityTaskScheduled, ScheduleActivityTaskFailed, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCanceled, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, WorkflowExecutionSignaled, MarkerRecorded, RecordMarkerFailed, TimerStarted, StartTimerFailed, TimerFired, TimerCanceled, CancelTimerFailed, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested

Returns:
The type of the history event.
See also:
EventType
 
     public String getEventType() {
         return ;
     }
    
    
The type of the history event.

Constraints:
Allowed Values: WorkflowExecutionStarted, WorkflowExecutionCancelRequested, WorkflowExecutionCompleted, CompleteWorkflowExecutionFailed, WorkflowExecutionFailed, FailWorkflowExecutionFailed, WorkflowExecutionTimedOut, WorkflowExecutionCanceled, CancelWorkflowExecutionFailed, WorkflowExecutionContinuedAsNew, ContinueAsNewWorkflowExecutionFailed, WorkflowExecutionTerminated, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, ActivityTaskScheduled, ScheduleActivityTaskFailed, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCanceled, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, WorkflowExecutionSignaled, MarkerRecorded, RecordMarkerFailed, TimerStarted, StartTimerFailed, TimerFired, TimerCanceled, CancelTimerFailed, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested

Parameters:
eventType The type of the history event.
See also:
EventType
 
     public void setEventType(String eventType) {
         this. = eventType;
     }
    
    
The type of the history event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: WorkflowExecutionStarted, WorkflowExecutionCancelRequested, WorkflowExecutionCompleted, CompleteWorkflowExecutionFailed, WorkflowExecutionFailed, FailWorkflowExecutionFailed, WorkflowExecutionTimedOut, WorkflowExecutionCanceled, CancelWorkflowExecutionFailed, WorkflowExecutionContinuedAsNew, ContinueAsNewWorkflowExecutionFailed, WorkflowExecutionTerminated, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, ActivityTaskScheduled, ScheduleActivityTaskFailed, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCanceled, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, WorkflowExecutionSignaled, MarkerRecorded, RecordMarkerFailed, TimerStarted, StartTimerFailed, TimerFired, TimerCanceled, CancelTimerFailed, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested

Parameters:
eventType The type of the history event.
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
EventType
 
     public HistoryEvent withEventType(String eventType) {
         this. = eventType;
         return this;
     }

    
The type of the history event.

Constraints:
Allowed Values: WorkflowExecutionStarted, WorkflowExecutionCancelRequested, WorkflowExecutionCompleted, CompleteWorkflowExecutionFailed, WorkflowExecutionFailed, FailWorkflowExecutionFailed, WorkflowExecutionTimedOut, WorkflowExecutionCanceled, CancelWorkflowExecutionFailed, WorkflowExecutionContinuedAsNew, ContinueAsNewWorkflowExecutionFailed, WorkflowExecutionTerminated, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, ActivityTaskScheduled, ScheduleActivityTaskFailed, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCanceled, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, WorkflowExecutionSignaled, MarkerRecorded, RecordMarkerFailed, TimerStarted, StartTimerFailed, TimerFired, TimerCanceled, CancelTimerFailed, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested

Parameters:
eventType The type of the history event.
See also:
EventType
 
     public void setEventType(EventType eventType) {
         this. = eventType.toString();
     }
    
    
The type of the history event.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: WorkflowExecutionStarted, WorkflowExecutionCancelRequested, WorkflowExecutionCompleted, CompleteWorkflowExecutionFailed, WorkflowExecutionFailed, FailWorkflowExecutionFailed, WorkflowExecutionTimedOut, WorkflowExecutionCanceled, CancelWorkflowExecutionFailed, WorkflowExecutionContinuedAsNew, ContinueAsNewWorkflowExecutionFailed, WorkflowExecutionTerminated, DecisionTaskScheduled, DecisionTaskStarted, DecisionTaskCompleted, DecisionTaskTimedOut, ActivityTaskScheduled, ScheduleActivityTaskFailed, ActivityTaskStarted, ActivityTaskCompleted, ActivityTaskFailed, ActivityTaskTimedOut, ActivityTaskCanceled, ActivityTaskCancelRequested, RequestCancelActivityTaskFailed, WorkflowExecutionSignaled, MarkerRecorded, RecordMarkerFailed, TimerStarted, StartTimerFailed, TimerFired, TimerCanceled, CancelTimerFailed, StartChildWorkflowExecutionInitiated, StartChildWorkflowExecutionFailed, ChildWorkflowExecutionStarted, ChildWorkflowExecutionCompleted, ChildWorkflowExecutionFailed, ChildWorkflowExecutionTimedOut, ChildWorkflowExecutionCanceled, ChildWorkflowExecutionTerminated, SignalExternalWorkflowExecutionInitiated, SignalExternalWorkflowExecutionFailed, ExternalWorkflowExecutionSignaled, RequestCancelExternalWorkflowExecutionInitiated, RequestCancelExternalWorkflowExecutionFailed, ExternalWorkflowExecutionCancelRequested

Parameters:
eventType The type of the history event.
Returns:
A reference to this updated object so that method calls can be chained together.
See also:
EventType
 
     public HistoryEvent withEventType(EventType eventType) {
         this. = eventType.toString();
         return this;
     }

    
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.
 
     public Long getEventId() {
         return ;
     }
    
    
The system generated id of the event. This id uniquely identifies the event with in the workflow execution history.

Parameters:
eventId The system generated id of the event. This id uniquely identifies the event with in the workflow execution history.
 
     public void setEventId(Long eventId) {
         this. = eventId;
     }
    
    
The system generated id of the event. This id uniquely identifies the event with in the workflow execution history.

Returns a reference to this object so that method calls can be chained together.

Parameters:
eventId The system generated id of the event. This id uniquely identifies the event with in the workflow execution history.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withEventId(Long eventId) {
         this. = eventId;
         return this;
     }

    
If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionStartedEventAttributes If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setWorkflowExecutionStartedEventAttributes(WorkflowExecutionStartedEventAttributes workflowExecutionStartedEventAttributes) {
         this. = workflowExecutionStartedEventAttributes;
     }
    
    
If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionStartedEventAttributes If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withWorkflowExecutionStartedEventAttributes(WorkflowExecutionStartedEventAttributes workflowExecutionStartedEventAttributes) {
         this. = workflowExecutionStartedEventAttributes;
         return this;
     }

    
If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionCompletedEventAttributes If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setWorkflowExecutionCompletedEventAttributes(WorkflowExecutionCompletedEventAttributes workflowExecutionCompletedEventAttributes) {
         this. = workflowExecutionCompletedEventAttributes;
     }
    
    
If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionCompletedEventAttributes If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withWorkflowExecutionCompletedEventAttributes(WorkflowExecutionCompletedEventAttributes workflowExecutionCompletedEventAttributes) {
         this. = workflowExecutionCompletedEventAttributes;
         return this;
     }

    
If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
completeWorkflowExecutionFailedEventAttributes If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setCompleteWorkflowExecutionFailedEventAttributes(CompleteWorkflowExecutionFailedEventAttributes completeWorkflowExecutionFailedEventAttributes) {
         this. = completeWorkflowExecutionFailedEventAttributes;
     }
    
    
If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
completeWorkflowExecutionFailedEventAttributes If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
         this. = completeWorkflowExecutionFailedEventAttributes;
         return this;
     }

    
If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionFailedEventAttributes If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setWorkflowExecutionFailedEventAttributes(WorkflowExecutionFailedEventAttributes workflowExecutionFailedEventAttributes) {
         this. = workflowExecutionFailedEventAttributes;
     }
    
    
If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionFailedEventAttributes If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withWorkflowExecutionFailedEventAttributes(WorkflowExecutionFailedEventAttributes workflowExecutionFailedEventAttributes) {
         this. = workflowExecutionFailedEventAttributes;
         return this;
     }

    
If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
failWorkflowExecutionFailedEventAttributes If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setFailWorkflowExecutionFailedEventAttributes(FailWorkflowExecutionFailedEventAttributes failWorkflowExecutionFailedEventAttributes) {
         this. = failWorkflowExecutionFailedEventAttributes;
     }
    
    
If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
failWorkflowExecutionFailedEventAttributes If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withFailWorkflowExecutionFailedEventAttributes(FailWorkflowExecutionFailedEventAttributes failWorkflowExecutionFailedEventAttributes) {
         this. = failWorkflowExecutionFailedEventAttributes;
         return this;
     }

    
If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionTimedOutEventAttributes If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setWorkflowExecutionTimedOutEventAttributes(WorkflowExecutionTimedOutEventAttributes workflowExecutionTimedOutEventAttributes) {
         this. = workflowExecutionTimedOutEventAttributes;
     }
    
    
If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionTimedOutEventAttributes If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withWorkflowExecutionTimedOutEventAttributes(WorkflowExecutionTimedOutEventAttributes workflowExecutionTimedOutEventAttributes) {
         this. = workflowExecutionTimedOutEventAttributes;
         return this;
     }

    
If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionCanceledEventAttributes If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setWorkflowExecutionCanceledEventAttributes(WorkflowExecutionCanceledEventAttributes workflowExecutionCanceledEventAttributes) {
         this. = workflowExecutionCanceledEventAttributes;
     }
    
    
If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionCanceledEventAttributes If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
     public HistoryEvent withWorkflowExecutionCanceledEventAttributes(WorkflowExecutionCanceledEventAttributes workflowExecutionCanceledEventAttributes) {
         this. = workflowExecutionCanceledEventAttributes;
         return this;
     }

    
If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
 
     }
    
    
If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
cancelWorkflowExecutionFailedEventAttributes If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
 
     public void setCancelWorkflowExecutionFailedEventAttributes(CancelWorkflowExecutionFailedEventAttributes cancelWorkflowExecutionFailedEventAttributes) {
         this. = cancelWorkflowExecutionFailedEventAttributes;
     }
    
    
If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cancelWorkflowExecutionFailedEventAttributes If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
 
         this. = cancelWorkflowExecutionFailedEventAttributes;
         return this;
     }

    
If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionContinuedAsNewEventAttributes If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setWorkflowExecutionContinuedAsNewEventAttributes(WorkflowExecutionContinuedAsNewEventAttributes workflowExecutionContinuedAsNewEventAttributes) {
        this. = workflowExecutionContinuedAsNewEventAttributes;
    }
    
    
If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionContinuedAsNewEventAttributes If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = workflowExecutionContinuedAsNewEventAttributes;
        return this;
    }

    
If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
continueAsNewWorkflowExecutionFailedEventAttributes If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setContinueAsNewWorkflowExecutionFailedEventAttributes(ContinueAsNewWorkflowExecutionFailedEventAttributes continueAsNewWorkflowExecutionFailedEventAttributes) {
        this. = continueAsNewWorkflowExecutionFailedEventAttributes;
    }
    
    
If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
continueAsNewWorkflowExecutionFailedEventAttributes If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = continueAsNewWorkflowExecutionFailedEventAttributes;
        return this;
    }

    
If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionTerminatedEventAttributes If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setWorkflowExecutionTerminatedEventAttributes(WorkflowExecutionTerminatedEventAttributes workflowExecutionTerminatedEventAttributes) {
        this. = workflowExecutionTerminatedEventAttributes;
    }
    
    
If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionTerminatedEventAttributes If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = workflowExecutionTerminatedEventAttributes;
        return this;
    }

    
If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionCancelRequestedEventAttributes If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setWorkflowExecutionCancelRequestedEventAttributes(WorkflowExecutionCancelRequestedEventAttributes workflowExecutionCancelRequestedEventAttributes) {
        this. = workflowExecutionCancelRequestedEventAttributes;
    }
    
    
If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionCancelRequestedEventAttributes If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = workflowExecutionCancelRequestedEventAttributes;
        return this;
    }

    
If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
decisionTaskScheduledEventAttributes If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setDecisionTaskScheduledEventAttributes(DecisionTaskScheduledEventAttributes decisionTaskScheduledEventAttributes) {
        this. = decisionTaskScheduledEventAttributes;
    }
    
    
If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
decisionTaskScheduledEventAttributes If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = decisionTaskScheduledEventAttributes;
        return this;
    }

    
If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
decisionTaskStartedEventAttributes If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setDecisionTaskStartedEventAttributes(DecisionTaskStartedEventAttributes decisionTaskStartedEventAttributes) {
        this. = decisionTaskStartedEventAttributes;
    }
    
    
If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
decisionTaskStartedEventAttributes If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withDecisionTaskStartedEventAttributes(DecisionTaskStartedEventAttributes decisionTaskStartedEventAttributes) {
        this. = decisionTaskStartedEventAttributes;
        return this;
    }

    
If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
decisionTaskCompletedEventAttributes If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setDecisionTaskCompletedEventAttributes(DecisionTaskCompletedEventAttributes decisionTaskCompletedEventAttributes) {
        this. = decisionTaskCompletedEventAttributes;
    }
    
    
If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
decisionTaskCompletedEventAttributes If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = decisionTaskCompletedEventAttributes;
        return this;
    }

    
If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
decisionTaskTimedOutEventAttributes If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setDecisionTaskTimedOutEventAttributes(DecisionTaskTimedOutEventAttributes decisionTaskTimedOutEventAttributes) {
        this. = decisionTaskTimedOutEventAttributes;
    }
    
    
If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
decisionTaskTimedOutEventAttributes If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withDecisionTaskTimedOutEventAttributes(DecisionTaskTimedOutEventAttributes decisionTaskTimedOutEventAttributes) {
        this. = decisionTaskTimedOutEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskScheduledEventAttributes If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskScheduledEventAttributes(ActivityTaskScheduledEventAttributes activityTaskScheduledEventAttributes) {
        this. = activityTaskScheduledEventAttributes;
    }
    
    
If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskScheduledEventAttributes If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = activityTaskScheduledEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskStartedEventAttributes If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes activityTaskStartedEventAttributes) {
        this. = activityTaskStartedEventAttributes;
    }
    
    
If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskStartedEventAttributes If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withActivityTaskStartedEventAttributes(ActivityTaskStartedEventAttributes activityTaskStartedEventAttributes) {
        this. = activityTaskStartedEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskCompletedEventAttributes If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskCompletedEventAttributes(ActivityTaskCompletedEventAttributes activityTaskCompletedEventAttributes) {
        this. = activityTaskCompletedEventAttributes;
    }
    
    
If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskCompletedEventAttributes If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = activityTaskCompletedEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskFailedEventAttributes If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskFailedEventAttributes(ActivityTaskFailedEventAttributes activityTaskFailedEventAttributes) {
        this. = activityTaskFailedEventAttributes;
    }
    
    
If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskFailedEventAttributes If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withActivityTaskFailedEventAttributes(ActivityTaskFailedEventAttributes activityTaskFailedEventAttributes) {
        this. = activityTaskFailedEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskTimedOutEventAttributes If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskTimedOutEventAttributes(ActivityTaskTimedOutEventAttributes activityTaskTimedOutEventAttributes) {
        this. = activityTaskTimedOutEventAttributes;
    }
    
    
If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskTimedOutEventAttributes If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withActivityTaskTimedOutEventAttributes(ActivityTaskTimedOutEventAttributes activityTaskTimedOutEventAttributes) {
        this. = activityTaskTimedOutEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskCanceledEventAttributes If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskCanceledEventAttributes(ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes) {
        this. = activityTaskCanceledEventAttributes;
    }
    
    
If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskCanceledEventAttributes If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withActivityTaskCanceledEventAttributes(ActivityTaskCanceledEventAttributes activityTaskCanceledEventAttributes) {
        this. = activityTaskCanceledEventAttributes;
        return this;
    }

    
If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
activityTaskCancelRequestedEventAttributes If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setActivityTaskCancelRequestedEventAttributes(ActivityTaskCancelRequestedEventAttributes activityTaskCancelRequestedEventAttributes) {
        this. = activityTaskCancelRequestedEventAttributes;
    }
    
    
If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
activityTaskCancelRequestedEventAttributes If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = activityTaskCancelRequestedEventAttributes;
        return this;
    }

    
If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
workflowExecutionSignaledEventAttributes If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setWorkflowExecutionSignaledEventAttributes(WorkflowExecutionSignaledEventAttributes workflowExecutionSignaledEventAttributes) {
        this. = workflowExecutionSignaledEventAttributes;
    }
    
    
If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
workflowExecutionSignaledEventAttributes If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = workflowExecutionSignaledEventAttributes;
        return this;
    }

    
If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
markerRecordedEventAttributes If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setMarkerRecordedEventAttributes(MarkerRecordedEventAttributes markerRecordedEventAttributes) {
        this. = markerRecordedEventAttributes;
    }
    
    
If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
markerRecordedEventAttributes If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withMarkerRecordedEventAttributes(MarkerRecordedEventAttributes markerRecordedEventAttributes) {
        this. = markerRecordedEventAttributes;
        return this;
    }

    
If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
recordMarkerFailedEventAttributes If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setRecordMarkerFailedEventAttributes(RecordMarkerFailedEventAttributes recordMarkerFailedEventAttributes) {
        this. = recordMarkerFailedEventAttributes;
    }
    
    
If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
recordMarkerFailedEventAttributes If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withRecordMarkerFailedEventAttributes(RecordMarkerFailedEventAttributes recordMarkerFailedEventAttributes) {
        this. = recordMarkerFailedEventAttributes;
        return this;
    }

    
If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
timerStartedEventAttributes If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setTimerStartedEventAttributes(TimerStartedEventAttributes timerStartedEventAttributes) {
        this. = timerStartedEventAttributes;
    }
    
    
If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timerStartedEventAttributes If the event is of type TimerStarted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withTimerStartedEventAttributes(TimerStartedEventAttributes timerStartedEventAttributes) {
        this. = timerStartedEventAttributes;
        return this;
    }

    
If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
timerFiredEventAttributes If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setTimerFiredEventAttributes(TimerFiredEventAttributes timerFiredEventAttributes) {
        this. = timerFiredEventAttributes;
    }
    
    
If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timerFiredEventAttributes If the event is of type TimerFired then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withTimerFiredEventAttributes(TimerFiredEventAttributes timerFiredEventAttributes) {
        this. = timerFiredEventAttributes;
        return this;
    }

    
If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
timerCanceledEventAttributes If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setTimerCanceledEventAttributes(TimerCanceledEventAttributes timerCanceledEventAttributes) {
        this. = timerCanceledEventAttributes;
    }
    
    
If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timerCanceledEventAttributes If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withTimerCanceledEventAttributes(TimerCanceledEventAttributes timerCanceledEventAttributes) {
        this. = timerCanceledEventAttributes;
        return this;
    }

    
If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
startChildWorkflowExecutionInitiatedEventAttributes If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setStartChildWorkflowExecutionInitiatedEventAttributes(StartChildWorkflowExecutionInitiatedEventAttributes startChildWorkflowExecutionInitiatedEventAttributes) {
        this. = startChildWorkflowExecutionInitiatedEventAttributes;
    }
    
    
If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
startChildWorkflowExecutionInitiatedEventAttributes If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = startChildWorkflowExecutionInitiatedEventAttributes;
        return this;
    }

    
If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
childWorkflowExecutionStartedEventAttributes If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setChildWorkflowExecutionStartedEventAttributes(ChildWorkflowExecutionStartedEventAttributes childWorkflowExecutionStartedEventAttributes) {
        this. = childWorkflowExecutionStartedEventAttributes;
    }
    
    
If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
childWorkflowExecutionStartedEventAttributes If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = childWorkflowExecutionStartedEventAttributes;
        return this;
    }

    
If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
childWorkflowExecutionCompletedEventAttributes If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setChildWorkflowExecutionCompletedEventAttributes(ChildWorkflowExecutionCompletedEventAttributes childWorkflowExecutionCompletedEventAttributes) {
        this. = childWorkflowExecutionCompletedEventAttributes;
    }
    
    
If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
childWorkflowExecutionCompletedEventAttributes If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = childWorkflowExecutionCompletedEventAttributes;
        return this;
    }

    
If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
childWorkflowExecutionFailedEventAttributes If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setChildWorkflowExecutionFailedEventAttributes(ChildWorkflowExecutionFailedEventAttributes childWorkflowExecutionFailedEventAttributes) {
        this. = childWorkflowExecutionFailedEventAttributes;
    }
    
    
If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
childWorkflowExecutionFailedEventAttributes If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = childWorkflowExecutionFailedEventAttributes;
        return this;
    }

    
If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
childWorkflowExecutionTimedOutEventAttributes If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setChildWorkflowExecutionTimedOutEventAttributes(ChildWorkflowExecutionTimedOutEventAttributes childWorkflowExecutionTimedOutEventAttributes) {
        this. = childWorkflowExecutionTimedOutEventAttributes;
    }
    
    
If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
childWorkflowExecutionTimedOutEventAttributes If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = childWorkflowExecutionTimedOutEventAttributes;
        return this;
    }

    
If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
childWorkflowExecutionCanceledEventAttributes If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setChildWorkflowExecutionCanceledEventAttributes(ChildWorkflowExecutionCanceledEventAttributes childWorkflowExecutionCanceledEventAttributes) {
        this. = childWorkflowExecutionCanceledEventAttributes;
    }
    
    
If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
childWorkflowExecutionCanceledEventAttributes If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = childWorkflowExecutionCanceledEventAttributes;
        return this;
    }

    
If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
childWorkflowExecutionTerminatedEventAttributes If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setChildWorkflowExecutionTerminatedEventAttributes(ChildWorkflowExecutionTerminatedEventAttributes childWorkflowExecutionTerminatedEventAttributes) {
        this. = childWorkflowExecutionTerminatedEventAttributes;
    }
    
    
If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
childWorkflowExecutionTerminatedEventAttributes If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = childWorkflowExecutionTerminatedEventAttributes;
        return this;
    }

    
If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
signalExternalWorkflowExecutionInitiatedEventAttributes If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setSignalExternalWorkflowExecutionInitiatedEventAttributes(SignalExternalWorkflowExecutionInitiatedEventAttributes signalExternalWorkflowExecutionInitiatedEventAttributes) {
        this. = signalExternalWorkflowExecutionInitiatedEventAttributes;
    }
    
    
If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
signalExternalWorkflowExecutionInitiatedEventAttributes If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = signalExternalWorkflowExecutionInitiatedEventAttributes;
        return this;
    }

    
If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
externalWorkflowExecutionSignaledEventAttributes If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setExternalWorkflowExecutionSignaledEventAttributes(ExternalWorkflowExecutionSignaledEventAttributes externalWorkflowExecutionSignaledEventAttributes) {
        this. = externalWorkflowExecutionSignaledEventAttributes;
    }
    
    
If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
externalWorkflowExecutionSignaledEventAttributes If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = externalWorkflowExecutionSignaledEventAttributes;
        return this;
    }

    
If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
signalExternalWorkflowExecutionFailedEventAttributes If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setSignalExternalWorkflowExecutionFailedEventAttributes(SignalExternalWorkflowExecutionFailedEventAttributes signalExternalWorkflowExecutionFailedEventAttributes) {
        this. = signalExternalWorkflowExecutionFailedEventAttributes;
    }
    
    
If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
signalExternalWorkflowExecutionFailedEventAttributes If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = signalExternalWorkflowExecutionFailedEventAttributes;
        return this;
    }

    
If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
externalWorkflowExecutionCancelRequestedEventAttributes If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setExternalWorkflowExecutionCancelRequestedEventAttributes(ExternalWorkflowExecutionCancelRequestedEventAttributes externalWorkflowExecutionCancelRequestedEventAttributes) {
        this. = externalWorkflowExecutionCancelRequestedEventAttributes;
    }
    
    
If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
externalWorkflowExecutionCancelRequestedEventAttributes If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = externalWorkflowExecutionCancelRequestedEventAttributes;
        return this;
    }

    
If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
requestCancelExternalWorkflowExecutionInitiatedEventAttributes If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setRequestCancelExternalWorkflowExecutionInitiatedEventAttributes(RequestCancelExternalWorkflowExecutionInitiatedEventAttributes requestCancelExternalWorkflowExecutionInitiatedEventAttributes) {
        this. = requestCancelExternalWorkflowExecutionInitiatedEventAttributes;
    }
    
    
If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
requestCancelExternalWorkflowExecutionInitiatedEventAttributes If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = requestCancelExternalWorkflowExecutionInitiatedEventAttributes;
        return this;
    }

    
If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
requestCancelExternalWorkflowExecutionFailedEventAttributes If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setRequestCancelExternalWorkflowExecutionFailedEventAttributes(RequestCancelExternalWorkflowExecutionFailedEventAttributes requestCancelExternalWorkflowExecutionFailedEventAttributes) {
        this. = requestCancelExternalWorkflowExecutionFailedEventAttributes;
    }
    
    
If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
requestCancelExternalWorkflowExecutionFailedEventAttributes If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = requestCancelExternalWorkflowExecutionFailedEventAttributes;
        return this;
    }

    
If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
scheduleActivityTaskFailedEventAttributes If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setScheduleActivityTaskFailedEventAttributes(ScheduleActivityTaskFailedEventAttributes scheduleActivityTaskFailedEventAttributes) {
        this. = scheduleActivityTaskFailedEventAttributes;
    }
    
    
If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
scheduleActivityTaskFailedEventAttributes If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = scheduleActivityTaskFailedEventAttributes;
        return this;
    }

    
If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
requestCancelActivityTaskFailedEventAttributes If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setRequestCancelActivityTaskFailedEventAttributes(RequestCancelActivityTaskFailedEventAttributes requestCancelActivityTaskFailedEventAttributes) {
        this. = requestCancelActivityTaskFailedEventAttributes;
    }
    
    
If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
requestCancelActivityTaskFailedEventAttributes If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = requestCancelActivityTaskFailedEventAttributes;
        return this;
    }

    
If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
startTimerFailedEventAttributes If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setStartTimerFailedEventAttributes(StartTimerFailedEventAttributes startTimerFailedEventAttributes) {
        this. = startTimerFailedEventAttributes;
    }
    
    
If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
startTimerFailedEventAttributes If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withStartTimerFailedEventAttributes(StartTimerFailedEventAttributes startTimerFailedEventAttributes) {
        this. = startTimerFailedEventAttributes;
        return this;
    }

    
If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
        return ;
    }
    
    
If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
cancelTimerFailedEventAttributes If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setCancelTimerFailedEventAttributes(CancelTimerFailedEventAttributes cancelTimerFailedEventAttributes) {
        this. = cancelTimerFailedEventAttributes;
    }
    
    
If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
cancelTimerFailedEventAttributes If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
    public HistoryEvent withCancelTimerFailedEventAttributes(CancelTimerFailedEventAttributes cancelTimerFailedEventAttributes) {
        this. = cancelTimerFailedEventAttributes;
        return this;
    }

    
If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not 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 is not set for other event types.
    }
    
    
If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Parameters:
startChildWorkflowExecutionFailedEventAttributes If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
    public void setStartChildWorkflowExecutionFailedEventAttributes(StartChildWorkflowExecutionFailedEventAttributes startChildWorkflowExecutionFailedEventAttributes) {
        this. = startChildWorkflowExecutionFailedEventAttributes;
    }
    
    
If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.

Returns a reference to this object so that method calls can be chained together.

Parameters:
startChildWorkflowExecutionFailedEventAttributes If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It is not set for other event types.
Returns:
A reference to this updated object so that method calls can be chained together.
        this. = startChildWorkflowExecutionFailedEventAttributes;
        return this;
    }

    
Returns a string representation of this object; useful for testing and debugging.

Returns:
A string representation of this object.
See also:
java.lang.Object.toString()
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getEventTimestamp() != nullsb.append("EventTimestamp: " + getEventTimestamp() + ",");
        if (getEventType() != nullsb.append("EventType: " + getEventType() + ",");
        if (getEventId() != nullsb.append("EventId: " + getEventId() + ",");
        if (getWorkflowExecutionStartedEventAttributes() != nullsb.append("WorkflowExecutionStartedEventAttributes: " + getWorkflowExecutionStartedEventAttributes() + ",");
        if (getWorkflowExecutionCompletedEventAttributes() != nullsb.append("WorkflowExecutionCompletedEventAttributes: " + getWorkflowExecutionCompletedEventAttributes() + ",");
        if (getCompleteWorkflowExecutionFailedEventAttributes() != nullsb.append("CompleteWorkflowExecutionFailedEventAttributes: " + getCompleteWorkflowExecutionFailedEventAttributes() + ",");
        if (getWorkflowExecutionFailedEventAttributes() != nullsb.append("WorkflowExecutionFailedEventAttributes: " + getWorkflowExecutionFailedEventAttributes() + ",");
        if (getFailWorkflowExecutionFailedEventAttributes() != nullsb.append("FailWorkflowExecutionFailedEventAttributes: " + getFailWorkflowExecutionFailedEventAttributes() + ",");
        if (getWorkflowExecutionTimedOutEventAttributes() != nullsb.append("WorkflowExecutionTimedOutEventAttributes: " + getWorkflowExecutionTimedOutEventAttributes() + ",");
        if (getWorkflowExecutionCanceledEventAttributes() != nullsb.append("WorkflowExecutionCanceledEventAttributes: " + getWorkflowExecutionCanceledEventAttributes() + ",");
        if (getCancelWorkflowExecutionFailedEventAttributes() != nullsb.append("CancelWorkflowExecutionFailedEventAttributes: " + getCancelWorkflowExecutionFailedEventAttributes() + ",");
        if (getWorkflowExecutionContinuedAsNewEventAttributes() != nullsb.append("WorkflowExecutionContinuedAsNewEventAttributes: " + getWorkflowExecutionContinuedAsNewEventAttributes() + ",");
        if (getContinueAsNewWorkflowExecutionFailedEventAttributes() != nullsb.append("ContinueAsNewWorkflowExecutionFailedEventAttributes: " + getContinueAsNewWorkflowExecutionFailedEventAttributes() + ",");
        if (getWorkflowExecutionTerminatedEventAttributes() != nullsb.append("WorkflowExecutionTerminatedEventAttributes: " + getWorkflowExecutionTerminatedEventAttributes() + ",");
        if (getWorkflowExecutionCancelRequestedEventAttributes() != nullsb.append("WorkflowExecutionCancelRequestedEventAttributes: " + getWorkflowExecutionCancelRequestedEventAttributes() + ",");
        if (getDecisionTaskScheduledEventAttributes() != nullsb.append("DecisionTaskScheduledEventAttributes: " + getDecisionTaskScheduledEventAttributes() + ",");