@Generated(value="software.amazon.awssdk:codegen") public final class AuditEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AuditEvent.Builder,AuditEvent>
An event from a source outside of Amazon Web Services that you want CloudTrail to log.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AuditEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AuditEvent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventData()
The content of an audit event that comes from the event, such as
userIdentity,
userAgent, and eventSource. |
String |
eventDataChecksum()
A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches
with the checksum.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The original event ID from the source event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AuditEvent.Builder> |
serializableBuilderClass() |
AuditEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String eventData()
The content of an audit event that comes from the event, such as userIdentity,
userAgent, and eventSource.
userIdentity,
userAgent, and eventSource.public final 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
printf %s $eventdata | openssl dgst -binary -sha256 | base64
public final String id()
The original event ID from the source event.
public AuditEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AuditEvent.Builder,AuditEvent>public static AuditEvent.Builder builder()
public static Class<? extends AuditEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.