/* * Copyright 2018-2023 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.stepfunctions.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains details about the events of an execution. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class HistoryEvent implements Serializable, Cloneable, StructuredPojo { /** ** The date and time the event occurred. *
*/ private java.util.Date timestamp; /** ** The type of the event. *
*/ private String type; /** ** The id of the event. Events are numbered sequentially, starting at one. *
*/ private Long id; /** ** The id of the previous event. *
*/ private Long previousEventId; private ActivityFailedEventDetails activityFailedEventDetails; /** ** Contains details about an activity schedule event that failed during an execution. *
*/ private ActivityScheduleFailedEventDetails activityScheduleFailedEventDetails; private ActivityScheduledEventDetails activityScheduledEventDetails; private ActivityStartedEventDetails activityStartedEventDetails; private ActivitySucceededEventDetails activitySucceededEventDetails; private ActivityTimedOutEventDetails activityTimedOutEventDetails; /** ** Contains details about the failure of a task. *
*/ private TaskFailedEventDetails taskFailedEventDetails; /** ** Contains details about a task that was scheduled. *
*/ private TaskScheduledEventDetails taskScheduledEventDetails; /** ** Contains details about a task that failed to start. *
*/ private TaskStartFailedEventDetails taskStartFailedEventDetails; /** ** Contains details about a task that was started. *
*/ private TaskStartedEventDetails taskStartedEventDetails; /** ** Contains details about a task that where the submit failed. *
*/ private TaskSubmitFailedEventDetails taskSubmitFailedEventDetails; /** ** Contains details about a submitted task. *
*/ private TaskSubmittedEventDetails taskSubmittedEventDetails; /** ** Contains details about a task that succeeded. *
*/ private TaskSucceededEventDetails taskSucceededEventDetails; /** ** Contains details about a task that timed out. *
*/ private TaskTimedOutEventDetails taskTimedOutEventDetails; private ExecutionFailedEventDetails executionFailedEventDetails; private ExecutionStartedEventDetails executionStartedEventDetails; private ExecutionSucceededEventDetails executionSucceededEventDetails; private ExecutionAbortedEventDetails executionAbortedEventDetails; private ExecutionTimedOutEventDetails executionTimedOutEventDetails; /** ** Contains details about Map state that was started. *
*/ private MapStateStartedEventDetails mapStateStartedEventDetails; /** ** Contains details about an iteration of a Map state that was started. *
*/ private MapIterationEventDetails mapIterationStartedEventDetails; /** ** Contains details about an iteration of a Map state that succeeded. *
*/ private MapIterationEventDetails mapIterationSucceededEventDetails; /** ** Contains details about an iteration of a Map state that failed. *
*/ private MapIterationEventDetails mapIterationFailedEventDetails; /** ** Contains details about an iteration of a Map state that was aborted. *
*/ private MapIterationEventDetails mapIterationAbortedEventDetails; private LambdaFunctionFailedEventDetails lambdaFunctionFailedEventDetails; private LambdaFunctionScheduleFailedEventDetails lambdaFunctionScheduleFailedEventDetails; private LambdaFunctionScheduledEventDetails lambdaFunctionScheduledEventDetails; /** ** Contains details about a lambda function that failed to start during an execution. *
*/ private LambdaFunctionStartFailedEventDetails lambdaFunctionStartFailedEventDetails; /** ** Contains details about a Lambda function that terminated successfully during an execution. *
*/ private LambdaFunctionSucceededEventDetails lambdaFunctionSucceededEventDetails; private LambdaFunctionTimedOutEventDetails lambdaFunctionTimedOutEventDetails; private StateEnteredEventDetails stateEnteredEventDetails; private StateExitedEventDetails stateExitedEventDetails; /** *
* Contains details, such as mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
*
* Contains error and cause details about a Map Run that failed. *
*/ private MapRunFailedEventDetails mapRunFailedEventDetails; /** ** The date and time the event occurred. *
* * @param timestamp * The date and time the event occurred. */ public void setTimestamp(java.util.Date timestamp) { this.timestamp = timestamp; } /** ** The date and time the event occurred. *
* * @return The date and time the event occurred. */ public java.util.Date getTimestamp() { return this.timestamp; } /** ** The date and time the event occurred. *
* * @param timestamp * The date and time the event occurred. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTimestamp(java.util.Date timestamp) { setTimestamp(timestamp); return this; } /** ** The type of the event. *
* * @param type * The type of the event. * @see HistoryEventType */ public void setType(String type) { this.type = type; } /** ** The type of the event. *
* * @return The type of the event. * @see HistoryEventType */ public String getType() { return this.type; } /** ** The type of the event. *
* * @param type * The type of the event. * @return Returns a reference to this object so that method calls can be chained together. * @see HistoryEventType */ public HistoryEvent withType(String type) { setType(type); return this; } /** ** The type of the event. *
* * @param type * The type of the event. * @see HistoryEventType */ public void setType(HistoryEventType type) { withType(type); } /** ** The type of the event. *
* * @param type * The type of the event. * @return Returns a reference to this object so that method calls can be chained together. * @see HistoryEventType */ public HistoryEvent withType(HistoryEventType type) { this.type = type.toString(); return this; } /** ** The id of the event. Events are numbered sequentially, starting at one. *
* * @param id * The id of the event. Events are numbered sequentially, starting at one. */ public void setId(Long id) { this.id = id; } /** ** The id of the event. Events are numbered sequentially, starting at one. *
* * @return The id of the event. Events are numbered sequentially, starting at one. */ public Long getId() { return this.id; } /** ** The id of the event. Events are numbered sequentially, starting at one. *
* * @param id * The id of the event. Events are numbered sequentially, starting at one. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withId(Long id) { setId(id); return this; } /** ** The id of the previous event. *
* * @param previousEventId * The id of the previous event. */ public void setPreviousEventId(Long previousEventId) { this.previousEventId = previousEventId; } /** ** The id of the previous event. *
* * @return The id of the previous event. */ public Long getPreviousEventId() { return this.previousEventId; } /** ** The id of the previous event. *
* * @param previousEventId * The id of the previous event. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withPreviousEventId(Long previousEventId) { setPreviousEventId(previousEventId); return this; } /** * @param activityFailedEventDetails */ public void setActivityFailedEventDetails(ActivityFailedEventDetails activityFailedEventDetails) { this.activityFailedEventDetails = activityFailedEventDetails; } /** * @return */ public ActivityFailedEventDetails getActivityFailedEventDetails() { return this.activityFailedEventDetails; } /** * @param activityFailedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withActivityFailedEventDetails(ActivityFailedEventDetails activityFailedEventDetails) { setActivityFailedEventDetails(activityFailedEventDetails); return this; } /** ** Contains details about an activity schedule event that failed during an execution. *
* * @param activityScheduleFailedEventDetails * Contains details about an activity schedule event that failed during an execution. */ public void setActivityScheduleFailedEventDetails(ActivityScheduleFailedEventDetails activityScheduleFailedEventDetails) { this.activityScheduleFailedEventDetails = activityScheduleFailedEventDetails; } /** ** Contains details about an activity schedule event that failed during an execution. *
* * @return Contains details about an activity schedule event that failed during an execution. */ public ActivityScheduleFailedEventDetails getActivityScheduleFailedEventDetails() { return this.activityScheduleFailedEventDetails; } /** ** Contains details about an activity schedule event that failed during an execution. *
* * @param activityScheduleFailedEventDetails * Contains details about an activity schedule event that failed during an execution. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withActivityScheduleFailedEventDetails(ActivityScheduleFailedEventDetails activityScheduleFailedEventDetails) { setActivityScheduleFailedEventDetails(activityScheduleFailedEventDetails); return this; } /** * @param activityScheduledEventDetails */ public void setActivityScheduledEventDetails(ActivityScheduledEventDetails activityScheduledEventDetails) { this.activityScheduledEventDetails = activityScheduledEventDetails; } /** * @return */ public ActivityScheduledEventDetails getActivityScheduledEventDetails() { return this.activityScheduledEventDetails; } /** * @param activityScheduledEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withActivityScheduledEventDetails(ActivityScheduledEventDetails activityScheduledEventDetails) { setActivityScheduledEventDetails(activityScheduledEventDetails); return this; } /** * @param activityStartedEventDetails */ public void setActivityStartedEventDetails(ActivityStartedEventDetails activityStartedEventDetails) { this.activityStartedEventDetails = activityStartedEventDetails; } /** * @return */ public ActivityStartedEventDetails getActivityStartedEventDetails() { return this.activityStartedEventDetails; } /** * @param activityStartedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withActivityStartedEventDetails(ActivityStartedEventDetails activityStartedEventDetails) { setActivityStartedEventDetails(activityStartedEventDetails); return this; } /** * @param activitySucceededEventDetails */ public void setActivitySucceededEventDetails(ActivitySucceededEventDetails activitySucceededEventDetails) { this.activitySucceededEventDetails = activitySucceededEventDetails; } /** * @return */ public ActivitySucceededEventDetails getActivitySucceededEventDetails() { return this.activitySucceededEventDetails; } /** * @param activitySucceededEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withActivitySucceededEventDetails(ActivitySucceededEventDetails activitySucceededEventDetails) { setActivitySucceededEventDetails(activitySucceededEventDetails); return this; } /** * @param activityTimedOutEventDetails */ public void setActivityTimedOutEventDetails(ActivityTimedOutEventDetails activityTimedOutEventDetails) { this.activityTimedOutEventDetails = activityTimedOutEventDetails; } /** * @return */ public ActivityTimedOutEventDetails getActivityTimedOutEventDetails() { return this.activityTimedOutEventDetails; } /** * @param activityTimedOutEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withActivityTimedOutEventDetails(ActivityTimedOutEventDetails activityTimedOutEventDetails) { setActivityTimedOutEventDetails(activityTimedOutEventDetails); return this; } /** ** Contains details about the failure of a task. *
* * @param taskFailedEventDetails * Contains details about the failure of a task. */ public void setTaskFailedEventDetails(TaskFailedEventDetails taskFailedEventDetails) { this.taskFailedEventDetails = taskFailedEventDetails; } /** ** Contains details about the failure of a task. *
* * @return Contains details about the failure of a task. */ public TaskFailedEventDetails getTaskFailedEventDetails() { return this.taskFailedEventDetails; } /** ** Contains details about the failure of a task. *
* * @param taskFailedEventDetails * Contains details about the failure of a task. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskFailedEventDetails(TaskFailedEventDetails taskFailedEventDetails) { setTaskFailedEventDetails(taskFailedEventDetails); return this; } /** ** Contains details about a task that was scheduled. *
* * @param taskScheduledEventDetails * Contains details about a task that was scheduled. */ public void setTaskScheduledEventDetails(TaskScheduledEventDetails taskScheduledEventDetails) { this.taskScheduledEventDetails = taskScheduledEventDetails; } /** ** Contains details about a task that was scheduled. *
* * @return Contains details about a task that was scheduled. */ public TaskScheduledEventDetails getTaskScheduledEventDetails() { return this.taskScheduledEventDetails; } /** ** Contains details about a task that was scheduled. *
* * @param taskScheduledEventDetails * Contains details about a task that was scheduled. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskScheduledEventDetails(TaskScheduledEventDetails taskScheduledEventDetails) { setTaskScheduledEventDetails(taskScheduledEventDetails); return this; } /** ** Contains details about a task that failed to start. *
* * @param taskStartFailedEventDetails * Contains details about a task that failed to start. */ public void setTaskStartFailedEventDetails(TaskStartFailedEventDetails taskStartFailedEventDetails) { this.taskStartFailedEventDetails = taskStartFailedEventDetails; } /** ** Contains details about a task that failed to start. *
* * @return Contains details about a task that failed to start. */ public TaskStartFailedEventDetails getTaskStartFailedEventDetails() { return this.taskStartFailedEventDetails; } /** ** Contains details about a task that failed to start. *
* * @param taskStartFailedEventDetails * Contains details about a task that failed to start. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskStartFailedEventDetails(TaskStartFailedEventDetails taskStartFailedEventDetails) { setTaskStartFailedEventDetails(taskStartFailedEventDetails); return this; } /** ** Contains details about a task that was started. *
* * @param taskStartedEventDetails * Contains details about a task that was started. */ public void setTaskStartedEventDetails(TaskStartedEventDetails taskStartedEventDetails) { this.taskStartedEventDetails = taskStartedEventDetails; } /** ** Contains details about a task that was started. *
* * @return Contains details about a task that was started. */ public TaskStartedEventDetails getTaskStartedEventDetails() { return this.taskStartedEventDetails; } /** ** Contains details about a task that was started. *
* * @param taskStartedEventDetails * Contains details about a task that was started. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskStartedEventDetails(TaskStartedEventDetails taskStartedEventDetails) { setTaskStartedEventDetails(taskStartedEventDetails); return this; } /** ** Contains details about a task that where the submit failed. *
* * @param taskSubmitFailedEventDetails * Contains details about a task that where the submit failed. */ public void setTaskSubmitFailedEventDetails(TaskSubmitFailedEventDetails taskSubmitFailedEventDetails) { this.taskSubmitFailedEventDetails = taskSubmitFailedEventDetails; } /** ** Contains details about a task that where the submit failed. *
* * @return Contains details about a task that where the submit failed. */ public TaskSubmitFailedEventDetails getTaskSubmitFailedEventDetails() { return this.taskSubmitFailedEventDetails; } /** ** Contains details about a task that where the submit failed. *
* * @param taskSubmitFailedEventDetails * Contains details about a task that where the submit failed. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskSubmitFailedEventDetails(TaskSubmitFailedEventDetails taskSubmitFailedEventDetails) { setTaskSubmitFailedEventDetails(taskSubmitFailedEventDetails); return this; } /** ** Contains details about a submitted task. *
* * @param taskSubmittedEventDetails * Contains details about a submitted task. */ public void setTaskSubmittedEventDetails(TaskSubmittedEventDetails taskSubmittedEventDetails) { this.taskSubmittedEventDetails = taskSubmittedEventDetails; } /** ** Contains details about a submitted task. *
* * @return Contains details about a submitted task. */ public TaskSubmittedEventDetails getTaskSubmittedEventDetails() { return this.taskSubmittedEventDetails; } /** ** Contains details about a submitted task. *
* * @param taskSubmittedEventDetails * Contains details about a submitted task. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskSubmittedEventDetails(TaskSubmittedEventDetails taskSubmittedEventDetails) { setTaskSubmittedEventDetails(taskSubmittedEventDetails); return this; } /** ** Contains details about a task that succeeded. *
* * @param taskSucceededEventDetails * Contains details about a task that succeeded. */ public void setTaskSucceededEventDetails(TaskSucceededEventDetails taskSucceededEventDetails) { this.taskSucceededEventDetails = taskSucceededEventDetails; } /** ** Contains details about a task that succeeded. *
* * @return Contains details about a task that succeeded. */ public TaskSucceededEventDetails getTaskSucceededEventDetails() { return this.taskSucceededEventDetails; } /** ** Contains details about a task that succeeded. *
* * @param taskSucceededEventDetails * Contains details about a task that succeeded. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskSucceededEventDetails(TaskSucceededEventDetails taskSucceededEventDetails) { setTaskSucceededEventDetails(taskSucceededEventDetails); return this; } /** ** Contains details about a task that timed out. *
* * @param taskTimedOutEventDetails * Contains details about a task that timed out. */ public void setTaskTimedOutEventDetails(TaskTimedOutEventDetails taskTimedOutEventDetails) { this.taskTimedOutEventDetails = taskTimedOutEventDetails; } /** ** Contains details about a task that timed out. *
* * @return Contains details about a task that timed out. */ public TaskTimedOutEventDetails getTaskTimedOutEventDetails() { return this.taskTimedOutEventDetails; } /** ** Contains details about a task that timed out. *
* * @param taskTimedOutEventDetails * Contains details about a task that timed out. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withTaskTimedOutEventDetails(TaskTimedOutEventDetails taskTimedOutEventDetails) { setTaskTimedOutEventDetails(taskTimedOutEventDetails); return this; } /** * @param executionFailedEventDetails */ public void setExecutionFailedEventDetails(ExecutionFailedEventDetails executionFailedEventDetails) { this.executionFailedEventDetails = executionFailedEventDetails; } /** * @return */ public ExecutionFailedEventDetails getExecutionFailedEventDetails() { return this.executionFailedEventDetails; } /** * @param executionFailedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withExecutionFailedEventDetails(ExecutionFailedEventDetails executionFailedEventDetails) { setExecutionFailedEventDetails(executionFailedEventDetails); return this; } /** * @param executionStartedEventDetails */ public void setExecutionStartedEventDetails(ExecutionStartedEventDetails executionStartedEventDetails) { this.executionStartedEventDetails = executionStartedEventDetails; } /** * @return */ public ExecutionStartedEventDetails getExecutionStartedEventDetails() { return this.executionStartedEventDetails; } /** * @param executionStartedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withExecutionStartedEventDetails(ExecutionStartedEventDetails executionStartedEventDetails) { setExecutionStartedEventDetails(executionStartedEventDetails); return this; } /** * @param executionSucceededEventDetails */ public void setExecutionSucceededEventDetails(ExecutionSucceededEventDetails executionSucceededEventDetails) { this.executionSucceededEventDetails = executionSucceededEventDetails; } /** * @return */ public ExecutionSucceededEventDetails getExecutionSucceededEventDetails() { return this.executionSucceededEventDetails; } /** * @param executionSucceededEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withExecutionSucceededEventDetails(ExecutionSucceededEventDetails executionSucceededEventDetails) { setExecutionSucceededEventDetails(executionSucceededEventDetails); return this; } /** * @param executionAbortedEventDetails */ public void setExecutionAbortedEventDetails(ExecutionAbortedEventDetails executionAbortedEventDetails) { this.executionAbortedEventDetails = executionAbortedEventDetails; } /** * @return */ public ExecutionAbortedEventDetails getExecutionAbortedEventDetails() { return this.executionAbortedEventDetails; } /** * @param executionAbortedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withExecutionAbortedEventDetails(ExecutionAbortedEventDetails executionAbortedEventDetails) { setExecutionAbortedEventDetails(executionAbortedEventDetails); return this; } /** * @param executionTimedOutEventDetails */ public void setExecutionTimedOutEventDetails(ExecutionTimedOutEventDetails executionTimedOutEventDetails) { this.executionTimedOutEventDetails = executionTimedOutEventDetails; } /** * @return */ public ExecutionTimedOutEventDetails getExecutionTimedOutEventDetails() { return this.executionTimedOutEventDetails; } /** * @param executionTimedOutEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withExecutionTimedOutEventDetails(ExecutionTimedOutEventDetails executionTimedOutEventDetails) { setExecutionTimedOutEventDetails(executionTimedOutEventDetails); return this; } /** ** Contains details about Map state that was started. *
* * @param mapStateStartedEventDetails * Contains details about Map state that was started. */ public void setMapStateStartedEventDetails(MapStateStartedEventDetails mapStateStartedEventDetails) { this.mapStateStartedEventDetails = mapStateStartedEventDetails; } /** ** Contains details about Map state that was started. *
* * @return Contains details about Map state that was started. */ public MapStateStartedEventDetails getMapStateStartedEventDetails() { return this.mapStateStartedEventDetails; } /** ** Contains details about Map state that was started. *
* * @param mapStateStartedEventDetails * Contains details about Map state that was started. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withMapStateStartedEventDetails(MapStateStartedEventDetails mapStateStartedEventDetails) { setMapStateStartedEventDetails(mapStateStartedEventDetails); return this; } /** ** Contains details about an iteration of a Map state that was started. *
* * @param mapIterationStartedEventDetails * Contains details about an iteration of a Map state that was started. */ public void setMapIterationStartedEventDetails(MapIterationEventDetails mapIterationStartedEventDetails) { this.mapIterationStartedEventDetails = mapIterationStartedEventDetails; } /** ** Contains details about an iteration of a Map state that was started. *
* * @return Contains details about an iteration of a Map state that was started. */ public MapIterationEventDetails getMapIterationStartedEventDetails() { return this.mapIterationStartedEventDetails; } /** ** Contains details about an iteration of a Map state that was started. *
* * @param mapIterationStartedEventDetails * Contains details about an iteration of a Map state that was started. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withMapIterationStartedEventDetails(MapIterationEventDetails mapIterationStartedEventDetails) { setMapIterationStartedEventDetails(mapIterationStartedEventDetails); return this; } /** ** Contains details about an iteration of a Map state that succeeded. *
* * @param mapIterationSucceededEventDetails * Contains details about an iteration of a Map state that succeeded. */ public void setMapIterationSucceededEventDetails(MapIterationEventDetails mapIterationSucceededEventDetails) { this.mapIterationSucceededEventDetails = mapIterationSucceededEventDetails; } /** ** Contains details about an iteration of a Map state that succeeded. *
* * @return Contains details about an iteration of a Map state that succeeded. */ public MapIterationEventDetails getMapIterationSucceededEventDetails() { return this.mapIterationSucceededEventDetails; } /** ** Contains details about an iteration of a Map state that succeeded. *
* * @param mapIterationSucceededEventDetails * Contains details about an iteration of a Map state that succeeded. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withMapIterationSucceededEventDetails(MapIterationEventDetails mapIterationSucceededEventDetails) { setMapIterationSucceededEventDetails(mapIterationSucceededEventDetails); return this; } /** ** Contains details about an iteration of a Map state that failed. *
* * @param mapIterationFailedEventDetails * Contains details about an iteration of a Map state that failed. */ public void setMapIterationFailedEventDetails(MapIterationEventDetails mapIterationFailedEventDetails) { this.mapIterationFailedEventDetails = mapIterationFailedEventDetails; } /** ** Contains details about an iteration of a Map state that failed. *
* * @return Contains details about an iteration of a Map state that failed. */ public MapIterationEventDetails getMapIterationFailedEventDetails() { return this.mapIterationFailedEventDetails; } /** ** Contains details about an iteration of a Map state that failed. *
* * @param mapIterationFailedEventDetails * Contains details about an iteration of a Map state that failed. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withMapIterationFailedEventDetails(MapIterationEventDetails mapIterationFailedEventDetails) { setMapIterationFailedEventDetails(mapIterationFailedEventDetails); return this; } /** ** Contains details about an iteration of a Map state that was aborted. *
* * @param mapIterationAbortedEventDetails * Contains details about an iteration of a Map state that was aborted. */ public void setMapIterationAbortedEventDetails(MapIterationEventDetails mapIterationAbortedEventDetails) { this.mapIterationAbortedEventDetails = mapIterationAbortedEventDetails; } /** ** Contains details about an iteration of a Map state that was aborted. *
* * @return Contains details about an iteration of a Map state that was aborted. */ public MapIterationEventDetails getMapIterationAbortedEventDetails() { return this.mapIterationAbortedEventDetails; } /** ** Contains details about an iteration of a Map state that was aborted. *
* * @param mapIterationAbortedEventDetails * Contains details about an iteration of a Map state that was aborted. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withMapIterationAbortedEventDetails(MapIterationEventDetails mapIterationAbortedEventDetails) { setMapIterationAbortedEventDetails(mapIterationAbortedEventDetails); return this; } /** * @param lambdaFunctionFailedEventDetails */ public void setLambdaFunctionFailedEventDetails(LambdaFunctionFailedEventDetails lambdaFunctionFailedEventDetails) { this.lambdaFunctionFailedEventDetails = lambdaFunctionFailedEventDetails; } /** * @return */ public LambdaFunctionFailedEventDetails getLambdaFunctionFailedEventDetails() { return this.lambdaFunctionFailedEventDetails; } /** * @param lambdaFunctionFailedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withLambdaFunctionFailedEventDetails(LambdaFunctionFailedEventDetails lambdaFunctionFailedEventDetails) { setLambdaFunctionFailedEventDetails(lambdaFunctionFailedEventDetails); return this; } /** * @param lambdaFunctionScheduleFailedEventDetails */ public void setLambdaFunctionScheduleFailedEventDetails(LambdaFunctionScheduleFailedEventDetails lambdaFunctionScheduleFailedEventDetails) { this.lambdaFunctionScheduleFailedEventDetails = lambdaFunctionScheduleFailedEventDetails; } /** * @return */ public LambdaFunctionScheduleFailedEventDetails getLambdaFunctionScheduleFailedEventDetails() { return this.lambdaFunctionScheduleFailedEventDetails; } /** * @param lambdaFunctionScheduleFailedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withLambdaFunctionScheduleFailedEventDetails(LambdaFunctionScheduleFailedEventDetails lambdaFunctionScheduleFailedEventDetails) { setLambdaFunctionScheduleFailedEventDetails(lambdaFunctionScheduleFailedEventDetails); return this; } /** * @param lambdaFunctionScheduledEventDetails */ public void setLambdaFunctionScheduledEventDetails(LambdaFunctionScheduledEventDetails lambdaFunctionScheduledEventDetails) { this.lambdaFunctionScheduledEventDetails = lambdaFunctionScheduledEventDetails; } /** * @return */ public LambdaFunctionScheduledEventDetails getLambdaFunctionScheduledEventDetails() { return this.lambdaFunctionScheduledEventDetails; } /** * @param lambdaFunctionScheduledEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withLambdaFunctionScheduledEventDetails(LambdaFunctionScheduledEventDetails lambdaFunctionScheduledEventDetails) { setLambdaFunctionScheduledEventDetails(lambdaFunctionScheduledEventDetails); return this; } /** ** Contains details about a lambda function that failed to start during an execution. *
* * @param lambdaFunctionStartFailedEventDetails * Contains details about a lambda function that failed to start during an execution. */ public void setLambdaFunctionStartFailedEventDetails(LambdaFunctionStartFailedEventDetails lambdaFunctionStartFailedEventDetails) { this.lambdaFunctionStartFailedEventDetails = lambdaFunctionStartFailedEventDetails; } /** ** Contains details about a lambda function that failed to start during an execution. *
* * @return Contains details about a lambda function that failed to start during an execution. */ public LambdaFunctionStartFailedEventDetails getLambdaFunctionStartFailedEventDetails() { return this.lambdaFunctionStartFailedEventDetails; } /** ** Contains details about a lambda function that failed to start during an execution. *
* * @param lambdaFunctionStartFailedEventDetails * Contains details about a lambda function that failed to start during an execution. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withLambdaFunctionStartFailedEventDetails(LambdaFunctionStartFailedEventDetails lambdaFunctionStartFailedEventDetails) { setLambdaFunctionStartFailedEventDetails(lambdaFunctionStartFailedEventDetails); return this; } /** ** Contains details about a Lambda function that terminated successfully during an execution. *
* * @param lambdaFunctionSucceededEventDetails * Contains details about a Lambda function that terminated successfully during an execution. */ public void setLambdaFunctionSucceededEventDetails(LambdaFunctionSucceededEventDetails lambdaFunctionSucceededEventDetails) { this.lambdaFunctionSucceededEventDetails = lambdaFunctionSucceededEventDetails; } /** ** Contains details about a Lambda function that terminated successfully during an execution. *
* * @return Contains details about a Lambda function that terminated successfully during an execution. */ public LambdaFunctionSucceededEventDetails getLambdaFunctionSucceededEventDetails() { return this.lambdaFunctionSucceededEventDetails; } /** ** Contains details about a Lambda function that terminated successfully during an execution. *
* * @param lambdaFunctionSucceededEventDetails * Contains details about a Lambda function that terminated successfully during an execution. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withLambdaFunctionSucceededEventDetails(LambdaFunctionSucceededEventDetails lambdaFunctionSucceededEventDetails) { setLambdaFunctionSucceededEventDetails(lambdaFunctionSucceededEventDetails); return this; } /** * @param lambdaFunctionTimedOutEventDetails */ public void setLambdaFunctionTimedOutEventDetails(LambdaFunctionTimedOutEventDetails lambdaFunctionTimedOutEventDetails) { this.lambdaFunctionTimedOutEventDetails = lambdaFunctionTimedOutEventDetails; } /** * @return */ public LambdaFunctionTimedOutEventDetails getLambdaFunctionTimedOutEventDetails() { return this.lambdaFunctionTimedOutEventDetails; } /** * @param lambdaFunctionTimedOutEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withLambdaFunctionTimedOutEventDetails(LambdaFunctionTimedOutEventDetails lambdaFunctionTimedOutEventDetails) { setLambdaFunctionTimedOutEventDetails(lambdaFunctionTimedOutEventDetails); return this; } /** * @param stateEnteredEventDetails */ public void setStateEnteredEventDetails(StateEnteredEventDetails stateEnteredEventDetails) { this.stateEnteredEventDetails = stateEnteredEventDetails; } /** * @return */ public StateEnteredEventDetails getStateEnteredEventDetails() { return this.stateEnteredEventDetails; } /** * @param stateEnteredEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withStateEnteredEventDetails(StateEnteredEventDetails stateEnteredEventDetails) { setStateEnteredEventDetails(stateEnteredEventDetails); return this; } /** * @param stateExitedEventDetails */ public void setStateExitedEventDetails(StateExitedEventDetails stateExitedEventDetails) { this.stateExitedEventDetails = stateExitedEventDetails; } /** * @return */ public StateExitedEventDetails getStateExitedEventDetails() { return this.stateExitedEventDetails; } /** * @param stateExitedEventDetails * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withStateExitedEventDetails(StateExitedEventDetails stateExitedEventDetails) { setStateExitedEventDetails(stateExitedEventDetails); return this; } /** *
* Contains details, such as mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
*
mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
*/
public void setMapRunStartedEventDetails(MapRunStartedEventDetails mapRunStartedEventDetails) {
this.mapRunStartedEventDetails = mapRunStartedEventDetails;
}
/**
*
* Contains details, such as mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
*
mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
*/
public MapRunStartedEventDetails getMapRunStartedEventDetails() {
return this.mapRunStartedEventDetails;
}
/**
*
* Contains details, such as mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
*
mapRunArn
, and the start date and time of a Map Run.
* mapRunArn
is the Amazon Resource Name (ARN) of the Map Run that was started.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public HistoryEvent withMapRunStartedEventDetails(MapRunStartedEventDetails mapRunStartedEventDetails) {
setMapRunStartedEventDetails(mapRunStartedEventDetails);
return this;
}
/**
* * Contains error and cause details about a Map Run that failed. *
* * @param mapRunFailedEventDetails * Contains error and cause details about a Map Run that failed. */ public void setMapRunFailedEventDetails(MapRunFailedEventDetails mapRunFailedEventDetails) { this.mapRunFailedEventDetails = mapRunFailedEventDetails; } /** ** Contains error and cause details about a Map Run that failed. *
* * @return Contains error and cause details about a Map Run that failed. */ public MapRunFailedEventDetails getMapRunFailedEventDetails() { return this.mapRunFailedEventDetails; } /** ** Contains error and cause details about a Map Run that failed. *
* * @param mapRunFailedEventDetails * Contains error and cause details about a Map Run that failed. * @return Returns a reference to this object so that method calls can be chained together. */ public HistoryEvent withMapRunFailedEventDetails(MapRunFailedEventDetails mapRunFailedEventDetails) { setMapRunFailedEventDetails(mapRunFailedEventDetails); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getTimestamp() != null) sb.append("Timestamp: ").append(getTimestamp()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getPreviousEventId() != null) sb.append("PreviousEventId: ").append(getPreviousEventId()).append(","); if (getActivityFailedEventDetails() != null) sb.append("ActivityFailedEventDetails: ").append(getActivityFailedEventDetails()).append(","); if (getActivityScheduleFailedEventDetails() != null) sb.append("ActivityScheduleFailedEventDetails: ").append(getActivityScheduleFailedEventDetails()).append(","); if (getActivityScheduledEventDetails() != null) sb.append("ActivityScheduledEventDetails: ").append(getActivityScheduledEventDetails()).append(","); if (getActivityStartedEventDetails() != null) sb.append("ActivityStartedEventDetails: ").append(getActivityStartedEventDetails()).append(","); if (getActivitySucceededEventDetails() != null) sb.append("ActivitySucceededEventDetails: ").append(getActivitySucceededEventDetails()).append(","); if (getActivityTimedOutEventDetails() != null) sb.append("ActivityTimedOutEventDetails: ").append(getActivityTimedOutEventDetails()).append(","); if (getTaskFailedEventDetails() != null) sb.append("TaskFailedEventDetails: ").append(getTaskFailedEventDetails()).append(","); if (getTaskScheduledEventDetails() != null) sb.append("TaskScheduledEventDetails: ").append(getTaskScheduledEventDetails()).append(","); if (getTaskStartFailedEventDetails() != null) sb.append("TaskStartFailedEventDetails: ").append(getTaskStartFailedEventDetails()).append(","); if (getTaskStartedEventDetails() != null) sb.append("TaskStartedEventDetails: ").append(getTaskStartedEventDetails()).append(","); if (getTaskSubmitFailedEventDetails() != null) sb.append("TaskSubmitFailedEventDetails: ").append(getTaskSubmitFailedEventDetails()).append(","); if (getTaskSubmittedEventDetails() != null) sb.append("TaskSubmittedEventDetails: ").append(getTaskSubmittedEventDetails()).append(","); if (getTaskSucceededEventDetails() != null) sb.append("TaskSucceededEventDetails: ").append(getTaskSucceededEventDetails()).append(","); if (getTaskTimedOutEventDetails() != null) sb.append("TaskTimedOutEventDetails: ").append(getTaskTimedOutEventDetails()).append(","); if (getExecutionFailedEventDetails() != null) sb.append("ExecutionFailedEventDetails: ").append(getExecutionFailedEventDetails()).append(","); if (getExecutionStartedEventDetails() != null) sb.append("ExecutionStartedEventDetails: ").append(getExecutionStartedEventDetails()).append(","); if (getExecutionSucceededEventDetails() != null) sb.append("ExecutionSucceededEventDetails: ").append(getExecutionSucceededEventDetails()).append(","); if (getExecutionAbortedEventDetails() != null) sb.append("ExecutionAbortedEventDetails: ").append(getExecutionAbortedEventDetails()).append(","); if (getExecutionTimedOutEventDetails() != null) sb.append("ExecutionTimedOutEventDetails: ").append(getExecutionTimedOutEventDetails()).append(","); if (getMapStateStartedEventDetails() != null) sb.append("MapStateStartedEventDetails: ").append(getMapStateStartedEventDetails()).append(","); if (getMapIterationStartedEventDetails() != null) sb.append("MapIterationStartedEventDetails: ").append(getMapIterationStartedEventDetails()).append(","); if (getMapIterationSucceededEventDetails() != null) sb.append("MapIterationSucceededEventDetails: ").append(getMapIterationSucceededEventDetails()).append(","); if (getMapIterationFailedEventDetails() != null) sb.append("MapIterationFailedEventDetails: ").append(getMapIterationFailedEventDetails()).append(","); if (getMapIterationAbortedEventDetails() != null) sb.append("MapIterationAbortedEventDetails: ").append(getMapIterationAbortedEventDetails()).append(","); if (getLambdaFunctionFailedEventDetails() != null) sb.append("LambdaFunctionFailedEventDetails: ").append(getLambdaFunctionFailedEventDetails()).append(","); if (getLambdaFunctionScheduleFailedEventDetails() != null) sb.append("LambdaFunctionScheduleFailedEventDetails: ").append(getLambdaFunctionScheduleFailedEventDetails()).append(","); if (getLambdaFunctionScheduledEventDetails() != null) sb.append("LambdaFunctionScheduledEventDetails: ").append(getLambdaFunctionScheduledEventDetails()).append(","); if (getLambdaFunctionStartFailedEventDetails() != null) sb.append("LambdaFunctionStartFailedEventDetails: ").append(getLambdaFunctionStartFailedEventDetails()).append(","); if (getLambdaFunctionSucceededEventDetails() != null) sb.append("LambdaFunctionSucceededEventDetails: ").append(getLambdaFunctionSucceededEventDetails()).append(","); if (getLambdaFunctionTimedOutEventDetails() != null) sb.append("LambdaFunctionTimedOutEventDetails: ").append(getLambdaFunctionTimedOutEventDetails()).append(","); if (getStateEnteredEventDetails() != null) sb.append("StateEnteredEventDetails: ").append(getStateEnteredEventDetails()).append(","); if (getStateExitedEventDetails() != null) sb.append("StateExitedEventDetails: ").append(getStateExitedEventDetails()).append(","); if (getMapRunStartedEventDetails() != null) sb.append("MapRunStartedEventDetails: ").append(getMapRunStartedEventDetails()).append(","); if (getMapRunFailedEventDetails() != null) sb.append("MapRunFailedEventDetails: ").append(getMapRunFailedEventDetails()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof HistoryEvent == false) return false; HistoryEvent other = (HistoryEvent) obj; if (other.getTimestamp() == null ^ this.getTimestamp() == null) return false; if (other.getTimestamp() != null && other.getTimestamp().equals(this.getTimestamp()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getPreviousEventId() == null ^ this.getPreviousEventId() == null) return false; if (other.getPreviousEventId() != null && other.getPreviousEventId().equals(this.getPreviousEventId()) == false) return false; if (other.getActivityFailedEventDetails() == null ^ this.getActivityFailedEventDetails() == null) return false; if (other.getActivityFailedEventDetails() != null && other.getActivityFailedEventDetails().equals(this.getActivityFailedEventDetails()) == false) return false; if (other.getActivityScheduleFailedEventDetails() == null ^ this.getActivityScheduleFailedEventDetails() == null) return false; if (other.getActivityScheduleFailedEventDetails() != null && other.getActivityScheduleFailedEventDetails().equals(this.getActivityScheduleFailedEventDetails()) == false) return false; if (other.getActivityScheduledEventDetails() == null ^ this.getActivityScheduledEventDetails() == null) return false; if (other.getActivityScheduledEventDetails() != null && other.getActivityScheduledEventDetails().equals(this.getActivityScheduledEventDetails()) == false) return false; if (other.getActivityStartedEventDetails() == null ^ this.getActivityStartedEventDetails() == null) return false; if (other.getActivityStartedEventDetails() != null && other.getActivityStartedEventDetails().equals(this.getActivityStartedEventDetails()) == false) return false; if (other.getActivitySucceededEventDetails() == null ^ this.getActivitySucceededEventDetails() == null) return false; if (other.getActivitySucceededEventDetails() != null && other.getActivitySucceededEventDetails().equals(this.getActivitySucceededEventDetails()) == false) return false; if (other.getActivityTimedOutEventDetails() == null ^ this.getActivityTimedOutEventDetails() == null) return false; if (other.getActivityTimedOutEventDetails() != null && other.getActivityTimedOutEventDetails().equals(this.getActivityTimedOutEventDetails()) == false) return false; if (other.getTaskFailedEventDetails() == null ^ this.getTaskFailedEventDetails() == null) return false; if (other.getTaskFailedEventDetails() != null && other.getTaskFailedEventDetails().equals(this.getTaskFailedEventDetails()) == false) return false; if (other.getTaskScheduledEventDetails() == null ^ this.getTaskScheduledEventDetails() == null) return false; if (other.getTaskScheduledEventDetails() != null && other.getTaskScheduledEventDetails().equals(this.getTaskScheduledEventDetails()) == false) return false; if (other.getTaskStartFailedEventDetails() == null ^ this.getTaskStartFailedEventDetails() == null) return false; if (other.getTaskStartFailedEventDetails() != null && other.getTaskStartFailedEventDetails().equals(this.getTaskStartFailedEventDetails()) == false) return false; if (other.getTaskStartedEventDetails() == null ^ this.getTaskStartedEventDetails() == null) return false; if (other.getTaskStartedEventDetails() != null && other.getTaskStartedEventDetails().equals(this.getTaskStartedEventDetails()) == false) return false; if (other.getTaskSubmitFailedEventDetails() == null ^ this.getTaskSubmitFailedEventDetails() == null) return false; if (other.getTaskSubmitFailedEventDetails() != null && other.getTaskSubmitFailedEventDetails().equals(this.getTaskSubmitFailedEventDetails()) == false) return false; if (other.getTaskSubmittedEventDetails() == null ^ this.getTaskSubmittedEventDetails() == null) return false; if (other.getTaskSubmittedEventDetails() != null && other.getTaskSubmittedEventDetails().equals(this.getTaskSubmittedEventDetails()) == false) return false; if (other.getTaskSucceededEventDetails() == null ^ this.getTaskSucceededEventDetails() == null) return false; if (other.getTaskSucceededEventDetails() != null && other.getTaskSucceededEventDetails().equals(this.getTaskSucceededEventDetails()) == false) return false; if (other.getTaskTimedOutEventDetails() == null ^ this.getTaskTimedOutEventDetails() == null) return false; if (other.getTaskTimedOutEventDetails() != null && other.getTaskTimedOutEventDetails().equals(this.getTaskTimedOutEventDetails()) == false) return false; if (other.getExecutionFailedEventDetails() == null ^ this.getExecutionFailedEventDetails() == null) return false; if (other.getExecutionFailedEventDetails() != null && other.getExecutionFailedEventDetails().equals(this.getExecutionFailedEventDetails()) == false) return false; if (other.getExecutionStartedEventDetails() == null ^ this.getExecutionStartedEventDetails() == null) return false; if (other.getExecutionStartedEventDetails() != null && other.getExecutionStartedEventDetails().equals(this.getExecutionStartedEventDetails()) == false) return false; if (other.getExecutionSucceededEventDetails() == null ^ this.getExecutionSucceededEventDetails() == null) return false; if (other.getExecutionSucceededEventDetails() != null && other.getExecutionSucceededEventDetails().equals(this.getExecutionSucceededEventDetails()) == false) return false; if (other.getExecutionAbortedEventDetails() == null ^ this.getExecutionAbortedEventDetails() == null) return false; if (other.getExecutionAbortedEventDetails() != null && other.getExecutionAbortedEventDetails().equals(this.getExecutionAbortedEventDetails()) == false) return false; if (other.getExecutionTimedOutEventDetails() == null ^ this.getExecutionTimedOutEventDetails() == null) return false; if (other.getExecutionTimedOutEventDetails() != null && other.getExecutionTimedOutEventDetails().equals(this.getExecutionTimedOutEventDetails()) == false) return false; if (other.getMapStateStartedEventDetails() == null ^ this.getMapStateStartedEventDetails() == null) return false; if (other.getMapStateStartedEventDetails() != null && other.getMapStateStartedEventDetails().equals(this.getMapStateStartedEventDetails()) == false) return false; if (other.getMapIterationStartedEventDetails() == null ^ this.getMapIterationStartedEventDetails() == null) return false; if (other.getMapIterationStartedEventDetails() != null && other.getMapIterationStartedEventDetails().equals(this.getMapIterationStartedEventDetails()) == false) return false; if (other.getMapIterationSucceededEventDetails() == null ^ this.getMapIterationSucceededEventDetails() == null) return false; if (other.getMapIterationSucceededEventDetails() != null && other.getMapIterationSucceededEventDetails().equals(this.getMapIterationSucceededEventDetails()) == false) return false; if (other.getMapIterationFailedEventDetails() == null ^ this.getMapIterationFailedEventDetails() == null) return false; if (other.getMapIterationFailedEventDetails() != null && other.getMapIterationFailedEventDetails().equals(this.getMapIterationFailedEventDetails()) == false) return false; if (other.getMapIterationAbortedEventDetails() == null ^ this.getMapIterationAbortedEventDetails() == null) return false; if (other.getMapIterationAbortedEventDetails() != null && other.getMapIterationAbortedEventDetails().equals(this.getMapIterationAbortedEventDetails()) == false) return false; if (other.getLambdaFunctionFailedEventDetails() == null ^ this.getLambdaFunctionFailedEventDetails() == null) return false; if (other.getLambdaFunctionFailedEventDetails() != null && other.getLambdaFunctionFailedEventDetails().equals(this.getLambdaFunctionFailedEventDetails()) == false) return false; if (other.getLambdaFunctionScheduleFailedEventDetails() == null ^ this.getLambdaFunctionScheduleFailedEventDetails() == null) return false; if (other.getLambdaFunctionScheduleFailedEventDetails() != null && other.getLambdaFunctionScheduleFailedEventDetails().equals(this.getLambdaFunctionScheduleFailedEventDetails()) == false) return false; if (other.getLambdaFunctionScheduledEventDetails() == null ^ this.getLambdaFunctionScheduledEventDetails() == null) return false; if (other.getLambdaFunctionScheduledEventDetails() != null && other.getLambdaFunctionScheduledEventDetails().equals(this.getLambdaFunctionScheduledEventDetails()) == false) return false; if (other.getLambdaFunctionStartFailedEventDetails() == null ^ this.getLambdaFunctionStartFailedEventDetails() == null) return false; if (other.getLambdaFunctionStartFailedEventDetails() != null && other.getLambdaFunctionStartFailedEventDetails().equals(this.getLambdaFunctionStartFailedEventDetails()) == false) return false; if (other.getLambdaFunctionSucceededEventDetails() == null ^ this.getLambdaFunctionSucceededEventDetails() == null) return false; if (other.getLambdaFunctionSucceededEventDetails() != null && other.getLambdaFunctionSucceededEventDetails().equals(this.getLambdaFunctionSucceededEventDetails()) == false) return false; if (other.getLambdaFunctionTimedOutEventDetails() == null ^ this.getLambdaFunctionTimedOutEventDetails() == null) return false; if (other.getLambdaFunctionTimedOutEventDetails() != null && other.getLambdaFunctionTimedOutEventDetails().equals(this.getLambdaFunctionTimedOutEventDetails()) == false) return false; if (other.getStateEnteredEventDetails() == null ^ this.getStateEnteredEventDetails() == null) return false; if (other.getStateEnteredEventDetails() != null && other.getStateEnteredEventDetails().equals(this.getStateEnteredEventDetails()) == false) return false; if (other.getStateExitedEventDetails() == null ^ this.getStateExitedEventDetails() == null) return false; if (other.getStateExitedEventDetails() != null && other.getStateExitedEventDetails().equals(this.getStateExitedEventDetails()) == false) return false; if (other.getMapRunStartedEventDetails() == null ^ this.getMapRunStartedEventDetails() == null) return false; if (other.getMapRunStartedEventDetails() != null && other.getMapRunStartedEventDetails().equals(this.getMapRunStartedEventDetails()) == false) return false; if (other.getMapRunFailedEventDetails() == null ^ this.getMapRunFailedEventDetails() == null) return false; if (other.getMapRunFailedEventDetails() != null && other.getMapRunFailedEventDetails().equals(this.getMapRunFailedEventDetails()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTimestamp() == null) ? 0 : getTimestamp().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getPreviousEventId() == null) ? 0 : getPreviousEventId().hashCode()); hashCode = prime * hashCode + ((getActivityFailedEventDetails() == null) ? 0 : getActivityFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getActivityScheduleFailedEventDetails() == null) ? 0 : getActivityScheduleFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getActivityScheduledEventDetails() == null) ? 0 : getActivityScheduledEventDetails().hashCode()); hashCode = prime * hashCode + ((getActivityStartedEventDetails() == null) ? 0 : getActivityStartedEventDetails().hashCode()); hashCode = prime * hashCode + ((getActivitySucceededEventDetails() == null) ? 0 : getActivitySucceededEventDetails().hashCode()); hashCode = prime * hashCode + ((getActivityTimedOutEventDetails() == null) ? 0 : getActivityTimedOutEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskFailedEventDetails() == null) ? 0 : getTaskFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskScheduledEventDetails() == null) ? 0 : getTaskScheduledEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskStartFailedEventDetails() == null) ? 0 : getTaskStartFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskStartedEventDetails() == null) ? 0 : getTaskStartedEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskSubmitFailedEventDetails() == null) ? 0 : getTaskSubmitFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskSubmittedEventDetails() == null) ? 0 : getTaskSubmittedEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskSucceededEventDetails() == null) ? 0 : getTaskSucceededEventDetails().hashCode()); hashCode = prime * hashCode + ((getTaskTimedOutEventDetails() == null) ? 0 : getTaskTimedOutEventDetails().hashCode()); hashCode = prime * hashCode + ((getExecutionFailedEventDetails() == null) ? 0 : getExecutionFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getExecutionStartedEventDetails() == null) ? 0 : getExecutionStartedEventDetails().hashCode()); hashCode = prime * hashCode + ((getExecutionSucceededEventDetails() == null) ? 0 : getExecutionSucceededEventDetails().hashCode()); hashCode = prime * hashCode + ((getExecutionAbortedEventDetails() == null) ? 0 : getExecutionAbortedEventDetails().hashCode()); hashCode = prime * hashCode + ((getExecutionTimedOutEventDetails() == null) ? 0 : getExecutionTimedOutEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapStateStartedEventDetails() == null) ? 0 : getMapStateStartedEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapIterationStartedEventDetails() == null) ? 0 : getMapIterationStartedEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapIterationSucceededEventDetails() == null) ? 0 : getMapIterationSucceededEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapIterationFailedEventDetails() == null) ? 0 : getMapIterationFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapIterationAbortedEventDetails() == null) ? 0 : getMapIterationAbortedEventDetails().hashCode()); hashCode = prime * hashCode + ((getLambdaFunctionFailedEventDetails() == null) ? 0 : getLambdaFunctionFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getLambdaFunctionScheduleFailedEventDetails() == null) ? 0 : getLambdaFunctionScheduleFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getLambdaFunctionScheduledEventDetails() == null) ? 0 : getLambdaFunctionScheduledEventDetails().hashCode()); hashCode = prime * hashCode + ((getLambdaFunctionStartFailedEventDetails() == null) ? 0 : getLambdaFunctionStartFailedEventDetails().hashCode()); hashCode = prime * hashCode + ((getLambdaFunctionSucceededEventDetails() == null) ? 0 : getLambdaFunctionSucceededEventDetails().hashCode()); hashCode = prime * hashCode + ((getLambdaFunctionTimedOutEventDetails() == null) ? 0 : getLambdaFunctionTimedOutEventDetails().hashCode()); hashCode = prime * hashCode + ((getStateEnteredEventDetails() == null) ? 0 : getStateEnteredEventDetails().hashCode()); hashCode = prime * hashCode + ((getStateExitedEventDetails() == null) ? 0 : getStateExitedEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapRunStartedEventDetails() == null) ? 0 : getMapRunStartedEventDetails().hashCode()); hashCode = prime * hashCode + ((getMapRunFailedEventDetails() == null) ? 0 : getMapRunFailedEventDetails().hashCode()); return hashCode; } @Override public HistoryEvent clone() { try { return (HistoryEvent) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.stepfunctions.model.transform.HistoryEventMarshaller.getInstance().marshall(this, protocolMarshaller); } }