Class Event
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.Event
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Event.Builder,Event>
@Generated("software.amazon.awssdk:codegen") public final class Event extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Event.Builder,Event>
An event that occurred during the execution of a durable function.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Event.Builderbuilder()CallbackFailedDetailscallbackFailedDetails()Returns the value of the CallbackFailedDetails property for this object.CallbackStartedDetailscallbackStartedDetails()Returns the value of the CallbackStartedDetails property for this object.CallbackSucceededDetailscallbackSucceededDetails()Returns the value of the CallbackSucceededDetails property for this object.CallbackTimedOutDetailscallbackTimedOutDetails()Returns the value of the CallbackTimedOutDetails property for this object.ChainedInvokeFailedDetailschainedInvokeFailedDetails()Returns the value of the ChainedInvokeFailedDetails property for this object.ChainedInvokeStartedDetailschainedInvokeStartedDetails()Returns the value of the ChainedInvokeStartedDetails property for this object.ChainedInvokeStoppedDetailschainedInvokeStoppedDetails()Details about a chained invocation that was stopped.ChainedInvokeSucceededDetailschainedInvokeSucceededDetails()Details about a chained invocation that succeeded.ChainedInvokeTimedOutDetailschainedInvokeTimedOutDetails()Details about a chained invocation that timed out.ContextFailedDetailscontextFailedDetails()Details about a context that failed.ContextStartedDetailscontextStartedDetails()Details about a context that started.ContextSucceededDetailscontextSucceededDetails()Details about a context that succeeded.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegereventId()The unique identifier for this event.InstanteventTimestamp()The date and time when this event occurred, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).EventTypeeventType()The type of event that occurred.StringeventTypeAsString()The type of event that occurred.ExecutionFailedDetailsexecutionFailedDetails()Details about an execution that failed.ExecutionStartedDetailsexecutionStartedDetails()Details about an execution that started.ExecutionStoppedDetailsexecutionStoppedDetails()Details about an execution that was stopped.ExecutionSucceededDetailsexecutionSucceededDetails()Details about an execution that succeeded.ExecutionTimedOutDetailsexecutionTimedOutDetails()Details about an execution that timed out.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier for this operation.InvocationCompletedDetailsinvocationCompletedDetails()Details about a function invocation that completed.Stringname()The customer-provided name for this operation.StringparentId()The unique identifier of the parent operation, if this operation is running within a child context.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Event.Builder>serializableBuilderClass()StepFailedDetailsstepFailedDetails()Details about a step that failed.StepStartedDetailsstepStartedDetails()Details about a step that started.StepSucceededDetailsstepSucceededDetails()Details about a step that succeeded.StringsubType()The subtype of the event, providing additional categorization.Event.BuildertoBuilder()StringtoString()Returns a string representation of this object.WaitCancelledDetailswaitCancelledDetails()Details about a wait operation that was cancelled.WaitStartedDetailswaitStartedDetails()Details about a wait operation that started.WaitSucceededDetailswaitSucceededDetails()Details about a wait operation that succeeded.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
eventType
public final EventType eventType()
The type of event that occurred.
If the service returns an enum value that is not available in the current SDK version,
eventTypewill returnEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- The type of event that occurred.
- See Also:
EventType
-
eventTypeAsString
public final String eventTypeAsString()
The type of event that occurred.
If the service returns an enum value that is not available in the current SDK version,
eventTypewill returnEventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromeventTypeAsString().- Returns:
- The type of event that occurred.
- See Also:
EventType
-
subType
public final String subType()
The subtype of the event, providing additional categorization.
- Returns:
- The subtype of the event, providing additional categorization.
-
eventId
public final Integer eventId()
The unique identifier for this event. Event IDs increment sequentially.
- Returns:
- The unique identifier for this event. Event IDs increment sequentially.
-
id
public final String id()
The unique identifier for this operation.
- Returns:
- The unique identifier for this operation.
-
name
public final String name()
The customer-provided name for this operation.
- Returns:
- The customer-provided name for this operation.
-
eventTimestamp
public final Instant eventTimestamp()
The date and time when this event occurred, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
- Returns:
- The date and time when this event occurred, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).
-
parentId
public final String parentId()
The unique identifier of the parent operation, if this operation is running within a child context.
- Returns:
- The unique identifier of the parent operation, if this operation is running within a child context.
-
executionStartedDetails
public final ExecutionStartedDetails executionStartedDetails()
Details about an execution that started.
- Returns:
- Details about an execution that started.
-
executionSucceededDetails
public final ExecutionSucceededDetails executionSucceededDetails()
Details about an execution that succeeded.
- Returns:
- Details about an execution that succeeded.
-
executionFailedDetails
public final ExecutionFailedDetails executionFailedDetails()
Details about an execution that failed.
- Returns:
- Details about an execution that failed.
-
executionTimedOutDetails
public final ExecutionTimedOutDetails executionTimedOutDetails()
Details about an execution that timed out.
- Returns:
- Details about an execution that timed out.
-
executionStoppedDetails
public final ExecutionStoppedDetails executionStoppedDetails()
Details about an execution that was stopped.
- Returns:
- Details about an execution that was stopped.
-
contextStartedDetails
public final ContextStartedDetails contextStartedDetails()
Details about a context that started.
- Returns:
- Details about a context that started.
-
contextSucceededDetails
public final ContextSucceededDetails contextSucceededDetails()
Details about a context that succeeded.
- Returns:
- Details about a context that succeeded.
-
contextFailedDetails
public final ContextFailedDetails contextFailedDetails()
Details about a context that failed.
- Returns:
- Details about a context that failed.
-
waitStartedDetails
public final WaitStartedDetails waitStartedDetails()
Details about a wait operation that started.
- Returns:
- Details about a wait operation that started.
-
waitSucceededDetails
public final WaitSucceededDetails waitSucceededDetails()
Details about a wait operation that succeeded.
- Returns:
- Details about a wait operation that succeeded.
-
waitCancelledDetails
public final WaitCancelledDetails waitCancelledDetails()
Details about a wait operation that was cancelled.
- Returns:
- Details about a wait operation that was cancelled.
-
stepStartedDetails
public final StepStartedDetails stepStartedDetails()
Details about a step that started.
- Returns:
- Details about a step that started.
-
stepSucceededDetails
public final StepSucceededDetails stepSucceededDetails()
Details about a step that succeeded.
- Returns:
- Details about a step that succeeded.
-
stepFailedDetails
public final StepFailedDetails stepFailedDetails()
Details about a step that failed.
- Returns:
- Details about a step that failed.
-
chainedInvokeStartedDetails
public final ChainedInvokeStartedDetails chainedInvokeStartedDetails()
Returns the value of the ChainedInvokeStartedDetails property for this object.- Returns:
- The value of the ChainedInvokeStartedDetails property for this object.
-
chainedInvokeSucceededDetails
public final ChainedInvokeSucceededDetails chainedInvokeSucceededDetails()
Details about a chained invocation that succeeded.
- Returns:
- Details about a chained invocation that succeeded.
-
chainedInvokeFailedDetails
public final ChainedInvokeFailedDetails chainedInvokeFailedDetails()
Returns the value of the ChainedInvokeFailedDetails property for this object.- Returns:
- The value of the ChainedInvokeFailedDetails property for this object.
-
chainedInvokeTimedOutDetails
public final ChainedInvokeTimedOutDetails chainedInvokeTimedOutDetails()
Details about a chained invocation that timed out.
- Returns:
- Details about a chained invocation that timed out.
-
chainedInvokeStoppedDetails
public final ChainedInvokeStoppedDetails chainedInvokeStoppedDetails()
Details about a chained invocation that was stopped.
- Returns:
- Details about a chained invocation that was stopped.
-
callbackStartedDetails
public final CallbackStartedDetails callbackStartedDetails()
Returns the value of the CallbackStartedDetails property for this object.- Returns:
- The value of the CallbackStartedDetails property for this object.
-
callbackSucceededDetails
public final CallbackSucceededDetails callbackSucceededDetails()
Returns the value of the CallbackSucceededDetails property for this object.- Returns:
- The value of the CallbackSucceededDetails property for this object.
-
callbackFailedDetails
public final CallbackFailedDetails callbackFailedDetails()
Returns the value of the CallbackFailedDetails property for this object.- Returns:
- The value of the CallbackFailedDetails property for this object.
-
callbackTimedOutDetails
public final CallbackTimedOutDetails callbackTimedOutDetails()
Returns the value of the CallbackTimedOutDetails property for this object.- Returns:
- The value of the CallbackTimedOutDetails property for this object.
-
invocationCompletedDetails
public final InvocationCompletedDetails invocationCompletedDetails()
Details about a function invocation that completed.
- Returns:
- Details about a function invocation that completed.
-
toBuilder
public Event.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Event.Builder,Event>
-
builder
public static Event.Builder builder()
-
serializableBuilderClass
public static Class<? extends Event.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-