Interface BucketInfo.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BucketInfo.Builder,,- BucketInfo> - SdkBuilder<BucketInfo.Builder,,- BucketInfo> - SdkPojo
- Enclosing class:
- BucketInfo
@Mutable
@NotThreadSafe
public static interface BucketInfo.Builder
extends SdkPojo, CopyableBuilder<BucketInfo.Builder,BucketInfo> 
- 
Method SummaryModifier and TypeMethodDescriptionbuckets(Collection<Bucket> buckets) A list of the calculated facet values and counts.buckets(Consumer<Bucket.Builder>... buckets) A list of the calculated facet values and counts.A list of the calculated facet values and counts.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
bucketsA 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.
 
- 
bucketsA 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.
 
- 
bucketsA 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 tobuckets(List<Bucket>).- Parameters:
- buckets- a consumer that will call methods on- Bucket.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-