public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
| Modifier and Type | Method and Description |
|---|---|
Event.Builder |
cloudTrailEvent(String cloudTrailEvent)
A JSON string that contains a representation of the event returned.
|
Event.Builder |
eventId(String eventId)
The CloudTrail ID of the event returned.
|
Event.Builder |
eventName(String eventName)
The name of the event returned.
|
Event.Builder |
eventSource(String eventSource)
The AWS service that the request was made to.
|
Event.Builder |
eventTime(Instant eventTime)
The date and time of the event returned.
|
Event.Builder |
resources(Collection<Resource> resources)
A list of resources referenced by the event returned.
|
Event.Builder |
resources(Consumer<Resource.Builder>... resources)
A list of resources referenced by the event returned.
|
Event.Builder |
resources(Resource... resources)
A list of resources referenced by the event returned.
|
Event.Builder |
username(String username)
A user name or role name of the requester that called the API in the event returned.
|
copyapply, buildEvent.Builder eventId(String eventId)
The CloudTrail ID of the event returned.
eventId - The CloudTrail ID of the event returned.Event.Builder eventName(String eventName)
The name of the event returned.
eventName - The name of the event returned.Event.Builder eventTime(Instant eventTime)
The date and time of the event returned.
eventTime - The date and time of the event returned.Event.Builder eventSource(String eventSource)
The AWS service that the request was made to.
eventSource - The AWS service that the request was made to.Event.Builder username(String username)
A user name or role name of the requester that called the API in the event returned.
username - A user name or role name of the requester that called the API in the event returned.Event.Builder resources(Collection<Resource> resources)
A list of resources referenced by the event returned.
resources - A list of resources referenced by the event returned.Event.Builder resources(Resource... resources)
A list of resources referenced by the event returned.
resources - A list of resources referenced by the event returned.Event.Builder resources(Consumer<Resource.Builder>... resources)
A list of resources referenced by the event returned.
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #resources(List) .resources - a consumer that will call methods on List.Builder #resources(List) Event.Builder cloudTrailEvent(String cloudTrailEvent)
A JSON string that contains a representation of the event returned.
cloudTrailEvent - A JSON string that contains a representation of the event returned.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.