Interface AuditEvent.Builder

    • Method Detail

      • eventData

        AuditEvent.Builder eventData​(String eventData)

        The content of an audit event that comes from the event, such as userIdentity, userAgent, and eventSource.

        Parameters:
        eventData - The content of an audit event that comes from the event, such as userIdentity, userAgent, and eventSource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventDataChecksum

        AuditEvent.Builder eventDataChecksum​(String eventDataChecksum)

        A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches with the checksum. Calculate the checksum by running a command like the following:

        printf %s $eventdata | openssl dgst -binary -sha256 | base64

        Parameters:
        eventDataChecksum - A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches with the checksum. Calculate the checksum by running a command like the following:

        printf %s $eventdata | openssl dgst -binary -sha256 | base64

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        AuditEvent.Builder id​(String id)

        The original event ID from the source event.

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