Interface AuditEvent.Builder

  • Method Details

    • 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

      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.