CopyableBuilder<BucketInfo.Builder,BucketInfo>
, SdkBuilder<BucketInfo.Builder,BucketInfo>
public static interface BucketInfo.Builder extends CopyableBuilder<BucketInfo.Builder,BucketInfo>
Modifier and Type | Method | Description |
---|---|---|
BucketInfo.Builder |
buckets(Collection<Bucket> buckets) |
A list of the calculated facet values and counts.
|
BucketInfo.Builder |
buckets(Bucket... buckets) |
A list of the calculated facet values and counts.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setBuckets(java.util.Collection)
or #withBuckets(java.util.Collection)
if you want to
override the existing values.
buckets
- A list of the calculated facet values and counts.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.