public static interface BucketInfo.Builder extends SdkPojo, CopyableBuilder<BucketInfo.Builder,BucketInfo>
| Modifier and Type | Method and Description |
|---|---|
BucketInfo.Builder |
buckets(Bucket... buckets)
A list of the calculated facet values and counts.
|
BucketInfo.Builder |
buckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
|
BucketInfo.Builder |
buckets(Consumer<Bucket.Builder>... buckets)
A list of the calculated facet values and counts.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildBucketInfo.Builder buckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
buckets - A list of the calculated facet values and counts.BucketInfo.Builder buckets(Bucket... buckets)
A list of the calculated facet values and counts.
buckets - A list of the calculated facet values and counts.BucketInfo.Builder buckets(Consumer<Bucket.Builder>... buckets)
A list of the calculated facet values and counts.
This is a convenience method that creates an instance of theBucket.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 © 2023. All rights reserved.