@Generated(value="software.amazon.awssdk:codegen") public final class HistoryEvent extends Object implements StructuredPojo, ToCopyableBuilder<HistoryEvent.Builder,HistoryEvent>
Contains details about the events of an execution.
Modifier and Type | Class and Description |
---|---|
static interface |
HistoryEvent.Builder |
Modifier and Type | Method and Description |
---|---|
ActivityFailedEventDetails |
activityFailedEventDetails()
Returns the value of the ActivityFailedEventDetails property for this object.
|
ActivityScheduledEventDetails |
activityScheduledEventDetails()
Returns the value of the ActivityScheduledEventDetails property for this object.
|
ActivityScheduleFailedEventDetails |
activityScheduleFailedEventDetails()
Contains details about an activity schedule event which failed during an execution.
|
ActivityStartedEventDetails |
activityStartedEventDetails()
Returns the value of the ActivityStartedEventDetails property for this object.
|
ActivitySucceededEventDetails |
activitySucceededEventDetails()
Returns the value of the ActivitySucceededEventDetails property for this object.
|
ActivityTimedOutEventDetails |
activityTimedOutEventDetails()
Returns the value of the ActivityTimedOutEventDetails property for this object.
|
static HistoryEvent.Builder |
builder() |
boolean |
equals(Object obj) |
ExecutionAbortedEventDetails |
executionAbortedEventDetails()
Returns the value of the ExecutionAbortedEventDetails property for this object.
|
ExecutionFailedEventDetails |
executionFailedEventDetails()
Returns the value of the ExecutionFailedEventDetails property for this object.
|
ExecutionStartedEventDetails |
executionStartedEventDetails()
Returns the value of the ExecutionStartedEventDetails property for this object.
|
ExecutionSucceededEventDetails |
executionSucceededEventDetails()
Returns the value of the ExecutionSucceededEventDetails property for this object.
|
ExecutionTimedOutEventDetails |
executionTimedOutEventDetails()
Returns the value of the ExecutionTimedOutEventDetails property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
id()
The id of the event.
|
LambdaFunctionFailedEventDetails |
lambdaFunctionFailedEventDetails()
Returns the value of the LambdaFunctionFailedEventDetails property for this object.
|
LambdaFunctionScheduledEventDetails |
lambdaFunctionScheduledEventDetails()
Returns the value of the LambdaFunctionScheduledEventDetails property for this object.
|
LambdaFunctionScheduleFailedEventDetails |
lambdaFunctionScheduleFailedEventDetails()
Returns the value of the LambdaFunctionScheduleFailedEventDetails property for this object.
|
LambdaFunctionStartFailedEventDetails |
lambdaFunctionStartFailedEventDetails()
Contains details about a lambda function which failed to start during an execution.
|
LambdaFunctionSucceededEventDetails |
lambdaFunctionSucceededEventDetails()
Contains details about a lambda function which terminated successfully during an execution.
|
LambdaFunctionTimedOutEventDetails |
lambdaFunctionTimedOutEventDetails()
Returns the value of the LambdaFunctionTimedOutEventDetails property for this object.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Long |
previousEventId()
The id of the previous event.
|
static Class<? extends HistoryEvent.Builder> |
serializableBuilderClass() |
StateEnteredEventDetails |
stateEnteredEventDetails()
Returns the value of the StateEnteredEventDetails property for this object.
|
StateExitedEventDetails |
stateExitedEventDetails()
Returns the value of the StateExitedEventDetails property for this object.
|
Instant |
timestamp()
The date the event occurred.
|
HistoryEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
HistoryEventType |
type()
The type of the event.
|
String |
typeAsString()
The type of the event.
|
copy
public Instant timestamp()
The date the event occurred.
public HistoryEventType type()
The type of the event.
If the service returns an enum value that is not available in the current SDK version, type
will return
HistoryEventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
HistoryEventType
public String typeAsString()
The type of the event.
If the service returns an enum value that is not available in the current SDK version, type
will return
HistoryEventType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
typeAsString()
.
HistoryEventType
public Long id()
The id of the event. Events are numbered sequentially, starting at one.
public Long previousEventId()
The id of the previous event.
public ActivityFailedEventDetails activityFailedEventDetails()
public ActivityScheduleFailedEventDetails activityScheduleFailedEventDetails()
Contains details about an activity schedule event which failed during an execution.
public ActivityScheduledEventDetails activityScheduledEventDetails()
public ActivityStartedEventDetails activityStartedEventDetails()
public ActivitySucceededEventDetails activitySucceededEventDetails()
public ActivityTimedOutEventDetails activityTimedOutEventDetails()
public ExecutionFailedEventDetails executionFailedEventDetails()
public ExecutionStartedEventDetails executionStartedEventDetails()
public ExecutionSucceededEventDetails executionSucceededEventDetails()
public ExecutionAbortedEventDetails executionAbortedEventDetails()
public ExecutionTimedOutEventDetails executionTimedOutEventDetails()
public LambdaFunctionFailedEventDetails lambdaFunctionFailedEventDetails()
public LambdaFunctionScheduleFailedEventDetails lambdaFunctionScheduleFailedEventDetails()
public LambdaFunctionScheduledEventDetails lambdaFunctionScheduledEventDetails()
public LambdaFunctionStartFailedEventDetails lambdaFunctionStartFailedEventDetails()
Contains details about a lambda function which failed to start during an execution.
public LambdaFunctionSucceededEventDetails lambdaFunctionSucceededEventDetails()
Contains details about a lambda function which terminated successfully during an execution.
public LambdaFunctionTimedOutEventDetails lambdaFunctionTimedOutEventDetails()
public StateEnteredEventDetails stateEnteredEventDetails()
public StateExitedEventDetails stateExitedEventDetails()
public HistoryEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HistoryEvent.Builder,HistoryEvent>
public static HistoryEvent.Builder builder()
public static Class<? extends HistoryEvent.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.