Class CfnGroupPropsMixin.InsightsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.xray.CfnGroupPropsMixin.InsightsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupPropsMixin.InsightsConfigurationProperty>
- Enclosing interface:
CfnGroupPropsMixin.InsightsConfigurationProperty
@Stability(Stable)
public static final class CfnGroupPropsMixin.InsightsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroupPropsMixin.InsightsConfigurationProperty>
A builder for
CfnGroupPropsMixin.InsightsConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.insightsEnabled(Boolean insightsEnabled) Sets the value ofCfnGroupPropsMixin.InsightsConfigurationProperty.getInsightsEnabled()insightsEnabled(IResolvable insightsEnabled) Sets the value ofCfnGroupPropsMixin.InsightsConfigurationProperty.getInsightsEnabled()notificationsEnabled(Boolean notificationsEnabled) notificationsEnabled(IResolvable notificationsEnabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
insightsEnabled
@Stability(Stable) public CfnGroupPropsMixin.InsightsConfigurationProperty.Builder insightsEnabled(Boolean insightsEnabled) Sets the value ofCfnGroupPropsMixin.InsightsConfigurationProperty.getInsightsEnabled()- Parameters:
insightsEnabled- Set the InsightsEnabled value to true to enable insights or false to disable insights.- Returns:
this
-
insightsEnabled
@Stability(Stable) public CfnGroupPropsMixin.InsightsConfigurationProperty.Builder insightsEnabled(IResolvable insightsEnabled) Sets the value ofCfnGroupPropsMixin.InsightsConfigurationProperty.getInsightsEnabled()- Parameters:
insightsEnabled- Set the InsightsEnabled value to true to enable insights or false to disable insights.- Returns:
this
-
notificationsEnabled
@Stability(Stable) public CfnGroupPropsMixin.InsightsConfigurationProperty.Builder notificationsEnabled(Boolean notificationsEnabled) - Parameters:
notificationsEnabled- Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.- Returns:
this
-
notificationsEnabled
@Stability(Stable) public CfnGroupPropsMixin.InsightsConfigurationProperty.Builder notificationsEnabled(IResolvable notificationsEnabled) - Parameters:
notificationsEnabled- Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGroupPropsMixin.InsightsConfigurationProperty>- Returns:
- a new instance of
CfnGroupPropsMixin.InsightsConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-