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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
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
-
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
-
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
-
build
-