Interface AggregationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AggregationResult.Builder,,AggregationResult> SdkBuilder<AggregationResult.Builder,,AggregationResult> SdkPojo
- Enclosing class:
AggregationResult
-
Method Summary
Modifier and TypeMethodDescriptionbuckets(Collection<Bucket> buckets) The groups of customer accounts, one for each value of the field, with the number of accounts in each group.buckets(Consumer<Bucket.Builder>... buckets) The groups of customer accounts, one for each value of the field, with the number of accounts in each group.The groups of customer accounts, one for each value of the field, with the number of accounts in each group.groupBy(Collection<AggregatableField> groupBy) The field that the customer accounts are grouped by.groupBy(AggregatableField... groupBy) The field that the customer accounts are grouped by.groupByWithStrings(String... groupBy) The field that the customer accounts are grouped by.groupByWithStrings(Collection<String> groupBy) The field that the customer accounts are grouped by.otherCount(Integer otherCount) The number of customer accounts that have a value not included inBuckets.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
-
groupByWithStrings
The field that the customer accounts are grouped by.
- Parameters:
groupBy- The field that the customer accounts are grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupByWithStrings
The field that the customer accounts are grouped by.
- Parameters:
groupBy- The field that the customer accounts are grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
The field that the customer accounts are grouped by.
- Parameters:
groupBy- The field that the customer accounts are grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
The field that the customer accounts are grouped by.
- Parameters:
groupBy- The field that the customer accounts are grouped by.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
The groups of customer accounts, one for each value of the field, with the number of accounts in each group.
- Parameters:
buckets- The groups of customer accounts, one for each value of the field, with the number of accounts in each group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
The groups of customer accounts, one for each value of the field, with the number of accounts in each group.
- Parameters:
buckets- The groups of customer accounts, one for each value of the field, with the number of accounts in each group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
The groups of customer accounts, one for each value of the field, with the number of accounts in each group.
This is a convenience method that creates an instance of theBucket.Builderavoiding the need to create one manually viaBucket.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobuckets(List<Bucket>).- Parameters:
buckets- a consumer that will call methods onBucket.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
otherCount
The number of customer accounts that have a value not included in
Buckets.- Parameters:
otherCount- The number of customer accounts that have a value not included inBuckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-