Class AggregationRange.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AggregationRange.Builder>
co.elastic.clients.elasticsearch._types.aggregations.AggregationRange.Builder
- All Implemented Interfaces:
WithJson<AggregationRange.Builder>,ObjectBuilder<AggregationRange>
- Enclosing class:
- AggregationRange
public static class AggregationRange.Builder extends WithJsonObjectBuilderBase<AggregationRange.Builder> implements ObjectBuilder<AggregationRange>
Builder for
AggregationRange.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AggregationRangebuild()Builds aAggregationRange.AggregationRange.Builderfrom(java.lang.String value)API name:fromAggregationRange.Builderkey(java.lang.String value)API name:keyprotected AggregationRange.Builderself()AggregationRange.Builderto(java.lang.String value)API name:toMethods 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
-
from
API name:from -
key
API name:key -
to
API name:to -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AggregationRange.Builder>
-
build
Builds aAggregationRange.- Specified by:
buildin interfaceObjectBuilder<AggregationRange>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-