Class PutEventsResultEntry

    • Method Detail

      • eventId

        public final String eventId()

        The ID of the event.

        Returns:
        The ID of the event.
      • errorCode

        public final String errorCode()

        The error code that indicates why the event submission failed.

        Retryable errors include:

        • InternalFailure

          The request processing has failed because of an unknown error, exception or failure.

        • ThrottlingException

          The request was denied due to request throttling.

        Non-retryable errors include:

        • AccessDeniedException

          You do not have sufficient access to perform this action.

        • InvalidAccountIdException

          The account ID provided is not valid.

        • InvalidArgument

          A specified parameter is not valid.

        • MalformedDetail

          The JSON provided is not valid.

        • RedactionFailure

          Redacting the CloudTrail event failed.

        • NotAuthorizedForSourceException

          You do not have permissions to publish events with this source onto this event bus.

        • NotAuthorizedForDetailTypeException

          You do not have permissions to publish events with this detail type onto this event bus.

        Returns:
        The error code that indicates why the event submission failed.

        Retryable errors include:

        • InternalFailure

          The request processing has failed because of an unknown error, exception or failure.

        • ThrottlingException

          The request was denied due to request throttling.

        Non-retryable errors include:

        • AccessDeniedException

          You do not have sufficient access to perform this action.

        • InvalidAccountIdException

          The account ID provided is not valid.

        • InvalidArgument

          A specified parameter is not valid.

        • MalformedDetail

          The JSON provided is not valid.

        • RedactionFailure

          Redacting the CloudTrail event failed.

        • NotAuthorizedForSourceException

          You do not have permissions to publish events with this source onto this event bus.

        • NotAuthorizedForDetailTypeException

          You do not have permissions to publish events with this detail type onto this event bus.

      • errorMessage

        public final String errorMessage()

        The error message that explains why the event submission failed.

        Returns:
        The error message that explains why the event submission failed.
      • 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)