CopyableBuilder<Event.Builder,Event>
, SdkBuilder<Event.Builder,Event>
public static interface Event.Builder extends CopyableBuilder<Event.Builder,Event>
Modifier and Type | Method | 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(Date 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(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
apply, 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 eventTime(Date 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.
NOTE: This method appends the values to the existing list (if any). Use
#setResources(java.util.Collection)
or #withResources(java.util.Collection)
if you want to
override the existing values.
resources
- A list of resources referenced by the event returned.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.