public static interface Event.Builder extends SdkPojo, CopyableBuilder<Event.Builder,Event>
Modifier and Type | Method and Description |
---|---|
Event.Builder |
accessKeyId(String accessKeyId)
The AWS access key ID that was used to sign the request.
|
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 |
readOnly(String readOnly)
Information about whether the event is a write event or a read event.
|
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.
|
copy
applyMutation, build
Event.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 readOnly(String readOnly)
Information about whether the event is a write event or a read event.
readOnly
- Information about whether the event is a write event or a read event.Event.Builder accessKeyId(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.
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.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.