Class Event

    • 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, eventType will return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from eventTypeAsString().

        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, eventType will return EventType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from eventTypeAsString().

        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.
      • serializableBuilderClass

        public static Class<? extends Event.Builder> serializableBuilderClass()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)