Class RateAggregate.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder<RateAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.RateAggregate.Builder
- All Implemented Interfaces:
ObjectBuilder<RateAggregate>
- Enclosing class:
- RateAggregate
public static class RateAggregate.Builder extends AggregateBase.AbstractBuilder<RateAggregate.Builder> implements ObjectBuilder<RateAggregate>
Builder for
RateAggregate.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RateAggregatebuild()Builds aRateAggregate.protected RateAggregate.Builderself()RateAggregate.Buildervalue(double value)Required - API name:valueRateAggregate.BuildervalueAsString(java.lang.String value)API name:value_as_stringMethods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods 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
-
value
Required - API name:value -
valueAsString
API name:value_as_string -
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<RateAggregate.Builder>
-
build
Builds aRateAggregate.- Specified by:
buildin interfaceObjectBuilder<RateAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-