Class HistogramOrder.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.aggregations.HistogramOrder.Builder
- All Implemented Interfaces:
ObjectBuilder<HistogramOrder>
- Enclosing class:
- HistogramOrder
public static class HistogramOrder.Builder extends ObjectBuilderBase implements ObjectBuilder<HistogramOrder>
Builder for
HistogramOrder.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HistogramOrderbuild()Builds aHistogramOrder.HistogramOrder.Buildercount(SortOrder value)API name:_countHistogramOrder.Builderkey(SortOrder value)API name:_keyMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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.
-