Class CfnGroup.InsightsConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.xray.CfnGroup.InsightsConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroup.InsightsConfigurationProperty>
- Enclosing interface:
- CfnGroup.InsightsConfigurationProperty
@Stability(Stable)
public static final class CfnGroup.InsightsConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroup.InsightsConfigurationProperty>
A builder for
CfnGroup.InsightsConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.insightsEnabled
(Boolean insightsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getInsightsEnabled()
insightsEnabled
(IResolvable insightsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getInsightsEnabled()
notificationsEnabled
(Boolean notificationsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getNotificationsEnabled()
notificationsEnabled
(IResolvable notificationsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getNotificationsEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
insightsEnabled
@Stability(Stable) public CfnGroup.InsightsConfigurationProperty.Builder insightsEnabled(Boolean insightsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getInsightsEnabled()
- Parameters:
insightsEnabled
- Set the InsightsEnabled value to true to enable insights or false to disable insights.- Returns:
this
-
insightsEnabled
@Stability(Stable) public CfnGroup.InsightsConfigurationProperty.Builder insightsEnabled(IResolvable insightsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getInsightsEnabled()
- Parameters:
insightsEnabled
- Set the InsightsEnabled value to true to enable insights or false to disable insights.- Returns:
this
-
notificationsEnabled
@Stability(Stable) public CfnGroup.InsightsConfigurationProperty.Builder notificationsEnabled(Boolean notificationsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getNotificationsEnabled()
- 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 CfnGroup.InsightsConfigurationProperty.Builder notificationsEnabled(IResolvable notificationsEnabled) Sets the value ofCfnGroup.InsightsConfigurationProperty.getNotificationsEnabled()
- 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnGroup.InsightsConfigurationProperty>
- Returns:
- a new instance of
CfnGroup.InsightsConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-