Interface GetEventSelectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudTrailResponse.Builder
,CopyableBuilder<GetEventSelectorsResponse.Builder,
,GetEventSelectorsResponse> SdkBuilder<GetEventSelectorsResponse.Builder,
,GetEventSelectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEventSelectorsResponse
public static interface GetEventSelectorsResponse.Builder
extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetEventSelectorsResponse.Builder,GetEventSelectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionadvancedEventSelectors
(Collection<AdvancedEventSelector> advancedEventSelectors) The advanced event selectors that are configured for the trail.advancedEventSelectors
(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors) The advanced event selectors that are configured for the trail.advancedEventSelectors
(AdvancedEventSelector... advancedEventSelectors) The advanced event selectors that are configured for the trail.eventSelectors
(Collection<EventSelector> eventSelectors) The event selectors that are configured for the trail.eventSelectors
(Consumer<EventSelector.Builder>... eventSelectors) The event selectors that are configured for the trail.eventSelectors
(EventSelector... eventSelectors) The event selectors that are configured for the trail.The specified trail ARN that has the event selectors.Methods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
trailARN
The specified trail ARN that has the event selectors.
- Parameters:
trailARN
- The specified trail ARN that has the event selectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSelectors
The event selectors that are configured for the trail.
- Parameters:
eventSelectors
- The event selectors that are configured for the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSelectors
The event selectors that are configured for the trail.
- Parameters:
eventSelectors
- The event selectors that are configured for the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventSelectors
The event selectors that are configured for the trail.
This is a convenience method that creates an instance of theEventSelector.Builder
avoiding the need to create one manually viaEventSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventSelectors(List<EventSelector>)
.- Parameters:
eventSelectors
- a consumer that will call methods onEventSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
advancedEventSelectors
GetEventSelectorsResponse.Builder advancedEventSelectors(Collection<AdvancedEventSelector> advancedEventSelectors) The advanced event selectors that are configured for the trail.
- Parameters:
advancedEventSelectors
- The advanced event selectors that are configured for the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
GetEventSelectorsResponse.Builder advancedEventSelectors(AdvancedEventSelector... advancedEventSelectors) The advanced event selectors that are configured for the trail.
- Parameters:
advancedEventSelectors
- The advanced event selectors that are configured for the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedEventSelectors
GetEventSelectorsResponse.Builder advancedEventSelectors(Consumer<AdvancedEventSelector.Builder>... advancedEventSelectors) The advanced event selectors that are configured for the trail.
This is a convenience method that creates an instance of theAdvancedEventSelector.Builder
avoiding the need to create one manually viaAdvancedEventSelector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedEventSelectors(List<AdvancedEventSelector>)
.- Parameters:
advancedEventSelectors
- a consumer that will call methods onAdvancedEventSelector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-