Class AggregationRange.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregationRange.Builder
-
- All Implemented Interfaces:
ObjectBuilder<AggregationRange>
- Enclosing class:
- AggregationRange
public static class AggregationRange.Builder extends ObjectBuilderBase implements ObjectBuilder<AggregationRange>
Builder forAggregationRange.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregationRangebuild()Builds aAggregationRange.AggregationRange.Builderfrom(java.lang.String value)API name:fromAggregationRange.Builderkey(java.lang.String value)API name:keyAggregationRange.Builderto(java.lang.String value)API name:to-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
from
public final AggregationRange.Builder from(@Nullable java.lang.String value)
API name:from
-
key
public final AggregationRange.Builder key(@Nullable java.lang.String value)
API name:key
-
to
public final AggregationRange.Builder to(@Nullable java.lang.String value)
API name:to
-
build
public AggregationRange build()
Builds aAggregationRange.- Specified by:
buildin interfaceObjectBuilder<AggregationRange>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-