@Generated(value="software.amazon.awssdk:codegen") public final class Event extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Event.Builder,Event>
Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.
Modifier and Type | Class and Description |
---|---|
static interface |
Event.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accessKeyId()
The AWS access key ID that was used to sign the request.
|
static Event.Builder |
builder() |
String |
cloudTrailEvent()
A JSON string that contains a representation of the event returned.
|
boolean |
equals(Object obj) |
String |
eventId()
The CloudTrail ID of the event returned.
|
String |
eventName()
The name of the event returned.
|
String |
eventSource()
The AWS service that the request was made to.
|
Instant |
eventTime()
The date and time of the event returned.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
readOnly()
Information about whether the event is a write event or a read event.
|
List<Resource> |
resources()
A list of resources referenced by the event returned.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Event.Builder> |
serializableBuilderClass() |
Event.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
username()
A user name or role name of the requester that called the API in the event returned.
|
copy
public String eventId()
The CloudTrail ID of the event returned.
public String eventName()
The name of the event returned.
public String readOnly()
Information about whether the event is a write event or a read event.
public String accessKeyId()
The AWS access key ID that was used to sign the request. If the request was made with temporary security credentials, this is the access key ID of the temporary credentials.
public Instant eventTime()
The date and time of the event returned.
public String eventSource()
The AWS service that the request was made to.
public String username()
A user name or role name of the requester that called the API in the event returned.
public List<Resource> resources()
A list of resources referenced by the event returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String cloudTrailEvent()
A JSON string that contains a representation of the event returned.
public Event.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Event.Builder,Event>
public static Event.Builder builder()
public static Class<? extends Event.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.