Interface AuditEvent.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AuditEvent.Builder,
,AuditEvent> SdkBuilder<AuditEvent.Builder,
,AuditEvent> SdkPojo
- Enclosing class:
AuditEvent
@Mutable
@NotThreadSafe
public static interface AuditEvent.Builder
extends SdkPojo, CopyableBuilder<AuditEvent.Builder,AuditEvent>
-
Method Summary
Modifier and TypeMethodDescriptionThe content of an audit event that comes from the event, such asuserIdentity
,userAgent
, andeventSource
.eventDataChecksum
(String eventDataChecksum) A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches with the checksum.The original event ID from the source event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventData
The content of an audit event that comes from the event, such as
userIdentity
,userAgent
, andeventSource
.- Parameters:
eventData
- The content of an audit event that comes from the event, such asuserIdentity
,userAgent
, andeventSource
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-