Class CfnEventDataStorePropsMixin.InsightSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudtrail.CfnEventDataStorePropsMixin.InsightSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventDataStorePropsMixin.InsightSelectorProperty>
- Enclosing interface:
CfnEventDataStorePropsMixin.InsightSelectorProperty
@Stability(Stable)
public static final class CfnEventDataStorePropsMixin.InsightSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventDataStorePropsMixin.InsightSelectorProperty>
A builder for
CfnEventDataStorePropsMixin.InsightSelectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.insightType(String insightType) Sets the value ofCfnEventDataStorePropsMixin.InsightSelectorProperty.getInsightType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
insightType
@Stability(Stable) public CfnEventDataStorePropsMixin.InsightSelectorProperty.Builder insightType(String insightType) Sets the value ofCfnEventDataStorePropsMixin.InsightSelectorProperty.getInsightType()- Parameters:
insightType- The type of Insights events to log on an event data store.ApiCallRateInsightandApiErrorRateInsightare valid Insight types. TheApiCallRateInsightInsights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.The
ApiErrorRateInsightInsights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventDataStorePropsMixin.InsightSelectorProperty>- Returns:
- a new instance of
CfnEventDataStorePropsMixin.InsightSelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-