Interface BucketInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BucketInfo.Builder,BucketInfo>,SdkBuilder<BucketInfo.Builder,BucketInfo>,SdkPojo
- Enclosing class:
- BucketInfo
public static interface BucketInfo.Builder extends SdkPojo, CopyableBuilder<BucketInfo.Builder,BucketInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BucketInfo.Builderbuckets(Collection<Bucket> buckets)A list of the calculated facet values and counts.BucketInfo.Builderbuckets(Consumer<Bucket.Builder>... buckets)A list of the calculated facet values and counts.BucketInfo.Builderbuckets(Bucket... buckets)A list of the calculated facet values and counts.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
buckets
BucketInfo.Builder buckets(Collection<Bucket> buckets)
A list of the calculated facet values and counts.
- Parameters:
buckets- A list of the calculated facet values and counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
BucketInfo.Builder buckets(Bucket... buckets)
A list of the calculated facet values and counts.
- Parameters:
buckets- A list of the calculated facet values and counts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
buckets
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.Builderavoiding the need to create one manually viaBucket.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#buckets(List.) - 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:
#buckets(java.util.Collection)
-
-