public static interface GetEventSelectorsResponse.Builder extends CloudTrailResponse.Builder, CopyableBuilder<GetEventSelectorsResponse.Builder,GetEventSelectorsResponse>
Modifier and Type | Method and Description |
---|---|
GetEventSelectorsResponse.Builder |
eventSelectors(Collection<EventSelector> eventSelectors)
The event selectors that are configured for the trail.
|
GetEventSelectorsResponse.Builder |
eventSelectors(Consumer<EventSelector.Builder>... eventSelectors)
The event selectors that are configured for the trail.
|
GetEventSelectorsResponse.Builder |
eventSelectors(EventSelector... eventSelectors)
The event selectors that are configured for the trail.
|
GetEventSelectorsResponse.Builder |
trailARN(String trailARN)
The specified trail ARN that has the event selectors.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetEventSelectorsResponse.Builder trailARN(String trailARN)
The specified trail ARN that has the event selectors.
trailARN
- The specified trail ARN that has the event selectors.GetEventSelectorsResponse.Builder eventSelectors(Collection<EventSelector> eventSelectors)
The event selectors that are configured for the trail.
eventSelectors
- The event selectors that are configured for the trail.GetEventSelectorsResponse.Builder eventSelectors(EventSelector... eventSelectors)
The event selectors that are configured for the trail.
eventSelectors
- The event selectors that are configured for the trail.GetEventSelectorsResponse.Builder eventSelectors(Consumer<EventSelector.Builder>... eventSelectors)
The event selectors that are configured for the trail.
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 #eventSelectors(List)
.eventSelectors
- a consumer that will call methods on List.Builder
#eventSelectors(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.