Interface GroupingAttributeDefinition.Builder

  • Method Details

    • groupingName

      GroupingAttributeDefinition.Builder groupingName(String groupingName)

      The friendly name for this grouping attribute, such as BusinessUnit or Environment. This name is used to identify the grouping in the console and APIs.

      Parameters:
      groupingName - The friendly name for this grouping attribute, such as BusinessUnit or Environment. This name is used to identify the grouping in the console and APIs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupingSourceKeys

      GroupingAttributeDefinition.Builder groupingSourceKeys(Collection<String> groupingSourceKeys)

      An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.

      Parameters:
      groupingSourceKeys - An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • groupingSourceKeys

      GroupingAttributeDefinition.Builder groupingSourceKeys(String... groupingSourceKeys)

      An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.

      Parameters:
      groupingSourceKeys - An array of source keys used to derive the grouping attribute value from telemetry data, Amazon Web Services tags, or other sources. For example, ["business_unit", "team"] would look for values in those fields.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultGroupingValue

      GroupingAttributeDefinition.Builder defaultGroupingValue(String defaultGroupingValue)

      The default value to use for this grouping attribute when no value can be derived from the source keys. This ensures all services have a grouping value even if the source data is missing.

      Parameters:
      defaultGroupingValue - The default value to use for this grouping attribute when no value can be derived from the source keys. This ensures all services have a grouping value even if the source data is missing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.