Interface GroupingAttributeDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupingAttributeDefinition.Builder,,GroupingAttributeDefinition> SdkBuilder<GroupingAttributeDefinition.Builder,,GroupingAttributeDefinition> SdkPojo
- Enclosing class:
GroupingAttributeDefinition
@Mutable
@NotThreadSafe
public static interface GroupingAttributeDefinition.Builder
extends SdkPojo, CopyableBuilder<GroupingAttributeDefinition.Builder,GroupingAttributeDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultGroupingValue(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".groupingName(String groupingName) The name of the grouping attribute, such as "Environment", "Team", or "Application".groupingSourceKeys(String... groupingSourceKeys) An array of source attribute keys that will be used to determine the grouping value for each service.groupingSourceKeys(Collection<String> groupingSourceKeys) An array of source attribute keys that will be used to determine the grouping value for each service.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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.
-