Class CfnTrailPropsMixin.AggregationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.CfnTrailPropsMixin.AggregationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTrailPropsMixin.AggregationConfigurationProperty>
- Enclosing interface:
CfnTrailPropsMixin.AggregationConfigurationProperty
@Stability(Stable)
public static final class CfnTrailPropsMixin.AggregationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTrailPropsMixin.AggregationConfigurationProperty>
A builder for
CfnTrailPropsMixin.AggregationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventCategory(String eventCategory) Sets the value ofCfnTrailPropsMixin.AggregationConfigurationProperty.getEventCategory()Sets the value ofCfnTrailPropsMixin.AggregationConfigurationProperty.getTemplates()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventCategory
@Stability(Stable) public CfnTrailPropsMixin.AggregationConfigurationProperty.Builder eventCategory(String eventCategory) Sets the value ofCfnTrailPropsMixin.AggregationConfigurationProperty.getEventCategory()- Parameters:
eventCategory- Specifies the event category for which aggregation should be performed.- Returns:
this
-
templates
@Stability(Stable) public CfnTrailPropsMixin.AggregationConfigurationProperty.Builder templates(List<String> templates) Sets the value ofCfnTrailPropsMixin.AggregationConfigurationProperty.getTemplates()- Parameters:
templates- A list of aggregation templates that can be used to configure event aggregation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTrailPropsMixin.AggregationConfigurationProperty>- Returns:
- a new instance of
CfnTrailPropsMixin.AggregationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-