Interface PutEventConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudTrailRequest.Builder,CopyableBuilder<PutEventConfigurationRequest.Builder,,PutEventConfigurationRequest> SdkBuilder<PutEventConfigurationRequest.Builder,,PutEventConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
PutEventConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionaggregationConfigurations(Collection<AggregationConfiguration> aggregationConfigurations) The list of aggregation configurations that you want to configure for the trail.aggregationConfigurations(Consumer<AggregationConfiguration.Builder>... aggregationConfigurations) The list of aggregation configurations that you want to configure for the trail.aggregationConfigurations(AggregationConfiguration... aggregationConfigurations) The list of aggregation configurations that you want to configure for the trail.contextKeySelectors(Collection<ContextKeySelector> contextKeySelectors) A list of context key selectors that will be included to provide enriched event data.contextKeySelectors(Consumer<ContextKeySelector.Builder>... contextKeySelectors) A list of context key selectors that will be included to provide enriched event data.contextKeySelectors(ContextKeySelector... contextKeySelectors) A list of context key selectors that will be included to provide enriched event data.eventDataStore(String eventDataStore) The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which event configuration settings are updated.maxEventSize(String maxEventSize) The maximum allowed size for events to be stored in the specified event data store.maxEventSize(MaxEventSize maxEventSize) The maximum allowed size for events to be stored in the specified event data store.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the trail for which you want to update event configuration settings.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.cloudtrail.model.CloudTrailRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
trailName
The name of the trail for which you want to update event configuration settings.
- Parameters:
trailName- The name of the trail for which you want to update event configuration settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDataStore
The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which event configuration settings are updated.
- Parameters:
eventDataStore- The Amazon Resource Name (ARN) or ID suffix of the ARN of the event data store for which event configuration settings are updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxEventSize
The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.
- Parameters:
maxEventSize- The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxEventSize
The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.
- Parameters:
maxEventSize- The maximum allowed size for events to be stored in the specified event data store. If you are using context key selectors, MaxEventSize must be set to Large.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contextKeySelectors
PutEventConfigurationRequest.Builder contextKeySelectors(Collection<ContextKeySelector> contextKeySelectors) A list of context key selectors that will be included to provide enriched event data.
- Parameters:
contextKeySelectors- A list of context key selectors that will be included to provide enriched event data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextKeySelectors
A list of context key selectors that will be included to provide enriched event data.
- Parameters:
contextKeySelectors- A list of context key selectors that will be included to provide enriched event data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextKeySelectors
PutEventConfigurationRequest.Builder contextKeySelectors(Consumer<ContextKeySelector.Builder>... contextKeySelectors) A list of context key selectors that will be included to provide enriched event data.
This is a convenience method that creates an instance of theContextKeySelector.Builderavoiding the need to create one manually viaContextKeySelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontextKeySelectors(List<ContextKeySelector>).- Parameters:
contextKeySelectors- a consumer that will call methods onContextKeySelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationConfigurations
PutEventConfigurationRequest.Builder aggregationConfigurations(Collection<AggregationConfiguration> aggregationConfigurations) The list of aggregation configurations that you want to configure for the trail.
- Parameters:
aggregationConfigurations- The list of aggregation configurations that you want to configure for the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationConfigurations
PutEventConfigurationRequest.Builder aggregationConfigurations(AggregationConfiguration... aggregationConfigurations) The list of aggregation configurations that you want to configure for the trail.
- Parameters:
aggregationConfigurations- The list of aggregation configurations that you want to configure for the trail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationConfigurations
PutEventConfigurationRequest.Builder aggregationConfigurations(Consumer<AggregationConfiguration.Builder>... aggregationConfigurations) The list of aggregation configurations that you want to configure for the trail.
This is a convenience method that creates an instance of theAggregationConfiguration.Builderavoiding the need to create one manually viaAggregationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationConfigurations(List<AggregationConfiguration>).- Parameters:
aggregationConfigurations- a consumer that will call methods onAggregationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
PutEventConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
PutEventConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-