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 Details

    • create

      @Stability(Stable) public static CfnGroup.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnGroup.Builder.
    • groupName

      @Stability(Stable) public CfnGroup.Builder groupName(String 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

      @Stability(Stable) public CfnGroup.Builder filterExpression(String 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

      @Stability(Stable) public CfnGroup.Builder insightsConfiguration(IResolvable 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

      @Stability(Stable) public CfnGroup.Builder tags(List<? extends Object> 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

      @Stability(Stable) public CfnGroup build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGroup>
      Returns:
      a newly built instance of CfnGroup.