public static interface GetBucketsAggregationResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<GetBucketsAggregationResponse.Builder,GetBucketsAggregationResponse>
| Modifier and Type | Method and Description |
|---|---|
GetBucketsAggregationResponse.Builder |
buckets(Bucket... buckets)
The main part of the response with a list of buckets.
|
GetBucketsAggregationResponse.Builder |
buckets(Collection<Bucket> buckets)
The main part of the response with a list of buckets.
|
GetBucketsAggregationResponse.Builder |
buckets(Consumer<Bucket.Builder>... buckets)
The main part of the response with a list of buckets.
|
GetBucketsAggregationResponse.Builder |
totalCount(Integer totalCount)
The total number of things that fit the query string criteria.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBucketsAggregationResponse.Builder totalCount(Integer totalCount)
The total number of things that fit the query string criteria.
totalCount - The total number of things that fit the query string criteria.GetBucketsAggregationResponse.Builder buckets(Collection<Bucket> buckets)
The main part of the response with a list of buckets. Each bucket contains a keyValue and a
count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
buckets - The main part of the response with a list of buckets. Each bucket contains a keyValue and
a count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
GetBucketsAggregationResponse.Builder buckets(Bucket... buckets)
The main part of the response with a list of buckets. Each bucket contains a keyValue and a
count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
buckets - The main part of the response with a list of buckets. Each bucket contains a keyValue and
a count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
GetBucketsAggregationResponse.Builder buckets(Consumer<Bucket.Builder>... buckets)
The main part of the response with a list of buckets. Each bucket contains a keyValue and a
count.
keyValue: The aggregation field value counted for the particular bucket.
count: The number of documents that have that value.
Bucket.Builder avoiding the need to create one manually via
Bucket.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to #buckets(List.
buckets - a consumer that will call methods on Bucket.Builder#buckets(java.util.Collection) Copyright © 2022. All rights reserved.