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.BuilderStart of the range (inclusive).final AggregationRange.BuilderCustom key to return the range with.protected AggregationRange.Builderself()final AggregationRange.BuilderEnd of the range (exclusive).Methods 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
Start of the range (inclusive).API name:
from -
key
Custom key to return the range with.API name:
key -
to
End of the range (exclusive).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.
-