Class HistogramOrder.Builder
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.HistogramOrder.Builder
- All Implemented Interfaces:
ObjectBuilder<HistogramOrder>
- Enclosing class:
- HistogramOrder
public static class HistogramOrder.Builder extends java.lang.Object implements ObjectBuilder<HistogramOrder>
Builder for
HistogramOrder.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HistogramOrderbuild()Builds aHistogramOrder.HistogramOrder.Buildercount(jakarta.json.JsonValue value)API name:_countHistogramOrder.Builderkey(jakarta.json.JsonValue value)API name:_key
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
API name:_count -
key
API name:_key -
build
Builds aHistogramOrder.- Specified by:
buildin interfaceObjectBuilder<HistogramOrder>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-