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.
|
copy
applyMutation, build
BucketInfo.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 that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #buckets(List)
.buckets
- a consumer that will call methods on List.Builder
#buckets(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.