Class CfnGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.xray.CfnGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupMixinProps>
- Enclosing interface:
CfnGroupMixinProps
@Stability(Stable)
public static final class CfnGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroupMixinProps>
A builder for
CfnGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.filterExpression(String filterExpression) Sets the value ofCfnGroupMixinProps.getFilterExpression()Sets the value ofCfnGroupMixinProps.getGroupName()insightsConfiguration(CfnGroupPropsMixin.InsightsConfigurationProperty insightsConfiguration) Sets the value ofCfnGroupMixinProps.getInsightsConfiguration()insightsConfiguration(IResolvable insightsConfiguration) Sets the value ofCfnGroupMixinProps.getInsightsConfiguration()Sets the value ofCfnGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
filterExpression
Sets the value ofCfnGroupMixinProps.getFilterExpression()- Parameters:
filterExpression- The filter expression defining the parameters to include traces.- Returns:
this
-
groupName
Sets the value ofCfnGroupMixinProps.getGroupName()- Parameters:
groupName- The unique case-sensitive name of the group.- Returns:
this
-
insightsConfiguration
@Stability(Stable) public CfnGroupMixinProps.Builder insightsConfiguration(IResolvable insightsConfiguration) Sets the value ofCfnGroupMixinProps.getInsightsConfiguration()- Parameters:
insightsConfiguration- The structure containing configurations related to insights.- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
- The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
- Returns:
this
-
insightsConfiguration
@Stability(Stable) public CfnGroupMixinProps.Builder insightsConfiguration(CfnGroupPropsMixin.InsightsConfigurationProperty insightsConfiguration) Sets the value ofCfnGroupMixinProps.getInsightsConfiguration()- Parameters:
insightsConfiguration- The structure containing configurations related to insights.- The InsightsEnabled boolean can be set to true to enable insights for the group or false to disable insights for the group.
- The NotificationsEnabled boolean can be set to true to enable insights notifications through Amazon EventBridge for the group.
- Returns:
this
-
tags
Sets the value ofCfnGroupMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGroupMixinProps>- Returns:
- a new instance of
CfnGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-