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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aAggregationRange
.final AggregationRange.Builder
API name:from
final AggregationRange.Builder
API name:key
protected AggregationRange.Builder
self()
final AggregationRange.Builder
API name:to
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
self
in classWithJsonObjectBuilderBase<AggregationRange.Builder>
-
build
Builds aAggregationRange
.- Specified by:
build
in interfaceObjectBuilder<AggregationRange>
- Throws:
NullPointerException
- if some of the required fields are null.
-