public static final class CfnTrail.InsightSelectorProperty.Builder
extends java.lang.Object
CfnTrail.InsightSelectorProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnTrail.InsightSelectorProperty |
build()
Builds the configured instance.
|
CfnTrail.InsightSelectorProperty.Builder |
insightType(java.lang.String insightType)
Sets the value of
CfnTrail.InsightSelectorProperty.getInsightType() |
public CfnTrail.InsightSelectorProperty.Builder insightType(java.lang.String insightType)
CfnTrail.InsightSelectorProperty.getInsightType()
insightType
- The type of insights to log on a trail.
ApiCallRateInsight
and ApiErrorRateInsight
are valid insight types.this
public CfnTrail.InsightSelectorProperty build()
CfnTrail.InsightSelectorProperty
java.lang.NullPointerException
- if any required attribute was not provided