StructuredPojo
, ToCopyableBuilder<Event.Builder,Event>
@Generated("software.amazon.awssdk:codegen") public class Event extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
Event.Builder |
Modifier and Type | Method | Description |
---|---|---|
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.
|
Date |
eventTime() |
The date and time of the event returned.
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
List<Resource> |
resources() |
A list of resources referenced by the event returned.
|
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.
|
public String eventId()
The CloudTrail ID of the event returned.
public String eventName()
The name of the event returned.
public Date 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.
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.