Class CfnGroupProps.Builder

java.lang.Object
software.amazon.awscdk.services.xray.CfnGroupProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGroupProps>
Enclosing interface:
CfnGroupProps

@Stability(Stable) public static final class CfnGroupProps.Builder extends Object implements software.amazon.jsii.Builder<CfnGroupProps>
A builder for CfnGroupProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • groupName

      @Stability(Stable) public CfnGroupProps.Builder groupName(String groupName)
      Parameters:
      groupName - The unique case-sensitive name of the group. This parameter is required.
      Returns:
      this
    • filterExpression

      @Stability(Stable) public CfnGroupProps.Builder filterExpression(String filterExpression)
      Parameters:
      filterExpression - The filter expression defining the parameters to include traces.
      Returns:
      this
    • insightsConfiguration

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

      @Stability(Stable) public CfnGroupProps.Builder tags(List<? extends Object> tags)
      Sets the value of CfnGroupProps.getTags()
      Parameters:
      tags - An array of key-value pairs to apply to this resource.
      Returns:
      this
    • build

      @Stability(Stable) public CfnGroupProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnGroupProps>
      Returns:
      a new instance of CfnGroupProps
      Throws:
      NullPointerException - if any required attribute was not provided