Interface GroupingAttributeDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupingAttributeDefinition.Builder,,GroupingAttributeDefinition> SdkBuilder<GroupingAttributeDefinition.Builder,,GroupingAttributeDefinition> SdkPojo
- Enclosing class:
GroupingAttributeDefinition
-
Method Summary
Modifier and TypeMethodDescriptiondefaultGroupingValue(String defaultGroupingValue) The default value to use for this grouping attribute when no value can be derived from the source keys.groupingName(String groupingName) The friendly name for this grouping attribute, such asBusinessUnitorEnvironment.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.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.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 friendly name for this grouping attribute, such as
BusinessUnitorEnvironment. This name is used to identify the grouping in the console and APIs.- Parameters:
groupingName- The friendly name for this grouping attribute, such asBusinessUnitorEnvironment. 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
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
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
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.
-