Interface ResultErrorEntry.Builder

    • Method Detail

      • errorCode

        ResultErrorEntry.Builder errorCode​(String errorCode)

        The error code for events that could not be ingested by CloudTrail. Possible error codes include: FieldTooLong, FieldNotFound, InvalidChecksum, InvalidData, InvalidRecipient, InvalidEventSource, AccountNotSubscribed, Throttling, and InternalFailure.

        Parameters:
        errorCode - The error code for events that could not be ingested by CloudTrail. Possible error codes include: FieldTooLong, FieldNotFound, InvalidChecksum, InvalidData, InvalidRecipient, InvalidEventSource, AccountNotSubscribed, Throttling, and InternalFailure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        ResultErrorEntry.Builder errorMessage​(String errorMessage)

        The message that describes the error for events that could not be ingested by CloudTrail.

        Parameters:
        errorMessage - The message that describes the error for events that could not be ingested by CloudTrail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        ResultErrorEntry.Builder id​(String id)

        The original event ID from the source event that could not be ingested by CloudTrail.

        Parameters:
        id - The original event ID from the source event that could not be ingested by CloudTrail.
        Returns:
        Returns a reference to this object so that method calls can be chained together.