Interface Group.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Group.Builder,Group>, SdkBuilder<Group.Builder,Group>, SdkPojo
Enclosing class:
Group

@Mutable @NotThreadSafe public static interface Group.Builder extends SdkPojo, CopyableBuilder<Group.Builder,Group>
  • Method Details

    • groupName

      Group.Builder groupName(String groupName)

      The unique case-sensitive name of the group.

      Parameters:
      groupName - The unique case-sensitive name of the group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupARN

      Group.Builder groupARN(String groupARN)

      The Amazon Resource Name (ARN) of the group generated based on the GroupName.

      Parameters:
      groupARN - The Amazon Resource Name (ARN) of the group generated based on the GroupName.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterExpression

      Group.Builder filterExpression(String filterExpression)

      The filter expression defining the parameters to include traces.

      Parameters:
      filterExpression - The filter expression defining the parameters to include traces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • insightsConfiguration

      Group.Builder insightsConfiguration(InsightsConfiguration 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.

      • 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:
      Returns a reference to this object so that method calls can be chained together.
    • insightsConfiguration

      default Group.Builder insightsConfiguration(Consumer<InsightsConfiguration.Builder> 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.

      This is a convenience method that creates an instance of the InsightsConfiguration.Builder avoiding the need to create one manually via InsightsConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to insightsConfiguration(InsightsConfiguration).

      Parameters:
      insightsConfiguration - a consumer that will call methods on InsightsConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: