Interface PutEventsResultEntry.Builder

    • Method Detail

      • eventId

        PutEventsResultEntry.Builder eventId​(String eventId)

        The ID of the event.

        Parameters:
        eventId - The ID of the event.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorCode

        PutEventsResultEntry.Builder errorCode​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        PutEventsResultEntry.Builder errorMessage​(String errorMessage)

        The error message that explains why the event submission failed.

        Parameters:
        errorMessage - The error message that explains why the event submission failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.