java.lang.Object
org.opensearch.client.opensearch._types.aggregations.Buckets<TBucket>
All Implemented Interfaces:
JsonpSerializable, PlainJsonSerializable, TaggedUnion<Buckets.Kind,Object>

@Generated("org.opensearch.client.codegen.CodeGenerator") public class Buckets<TBucket> extends Object implements TaggedUnion<Buckets.Kind,Object>, PlainJsonSerializable
Aggregation buckets. By default they are returned as an array, but if the aggregation has keys configured for the different buckets, the result is a dictionary.