Class CfnGroup.Builder
java.lang.Object
software.amazon.awscdk.services.xray.CfnGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroup>
- Enclosing class:
CfnGroup
@Stability(Stable)
public static final class CfnGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGroup>
A fluent builder for
CfnGroup
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnGroup.Builder
filterExpression
(String filterExpression) The filter expression defining the parameters to include traces.The unique case-sensitive name of the group.insightsConfiguration
(IResolvable insightsConfiguration) The structure containing configurations related to insights.insightsConfiguration
(CfnGroup.InsightsConfigurationProperty insightsConfiguration) The structure containing configurations related to insights.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnGroup.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnGroup.Builder
.
-
groupName
The unique case-sensitive name of the group.- Parameters:
groupName
- The unique case-sensitive name of the group. This parameter is required.- Returns:
this
- See Also:
-
filterExpression
The filter expression defining the parameters to include traces.- Parameters:
filterExpression
- The filter expression defining the parameters to include traces. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
insightsConfiguration
- The structure containing configurations related to insights. This parameter is required.- Returns:
this
- See Also:
-
insightsConfiguration
@Stability(Stable) public CfnGroup.Builder insightsConfiguration(CfnGroup.InsightsConfigurationProperty 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.
- Parameters:
insightsConfiguration
- The structure containing configurations related to insights. This parameter is required.- Returns:
this
- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags
- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this
- See Also:
-
build
-