Class HistogramOrder.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<HistogramOrder.Builder>
co.elastic.clients.elasticsearch._types.aggregations.HistogramOrder.Builder
- All Implemented Interfaces:
WithJson<HistogramOrder.Builder>,ObjectBuilder<HistogramOrder>
- Enclosing class:
- HistogramOrder
public static class HistogramOrder.Builder extends WithJsonObjectBuilderBase<HistogramOrder.Builder> 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:_keyprotected HistogramOrder.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<HistogramOrder.Builder>
-
build
Builds aHistogramOrder.- Specified by:
buildin interfaceObjectBuilder<HistogramOrder>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-