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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAggregationRange.final AggregationRange.BuilderAPI name:fromfinal AggregationRange.BuilderAPI name:keyprotected AggregationRange.Builderself()final AggregationRange.BuilderAPI name:toMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-