Interface GroupingAttributeDefinition.Builder

  • Method Details

    • groupingName

      GroupingAttributeDefinition.Builder groupingName(String groupingName)

      The name of the grouping attribute, such as "Environment", "Team", or "Application".

      Parameters:
      groupingName - The name of the grouping attribute, such as "Environment", "Team", or "Application".
      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 attribute keys that will be used to determine the grouping value for each service. These keys correspond to service metadata or tags.

      Parameters:
      groupingSourceKeys - An array of source attribute keys that will be used to determine the grouping value for each service. These keys correspond to service metadata or tags.
      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 attribute keys that will be used to determine the grouping value for each service. These keys correspond to service metadata or tags.

      Parameters:
      groupingSourceKeys - An array of source attribute keys that will be used to determine the grouping value for each service. These keys correspond to service metadata or tags.
      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 grouping when a service doesn't have any of the specified source keys, such as "Unknown" or "Unassigned".

      Parameters:
      defaultGroupingValue - The default value to use for grouping when a service doesn't have any of the specified source keys, such as "Unknown" or "Unassigned".
      Returns:
      Returns a reference to this object so that method calls can be chained together.