Class DerivativeAggregate.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase.AbstractBuilder<DerivativeAggregate.Builder>
co.elastic.clients.elasticsearch._types.aggregations.DerivativeAggregate.Builder
- All Implemented Interfaces:
WithJson<DerivativeAggregate.Builder>
,ObjectBuilder<DerivativeAggregate>
- Enclosing class:
- DerivativeAggregate
public static class DerivativeAggregate.Builder extends SingleMetricAggregateBase.AbstractBuilder<DerivativeAggregate.Builder> implements ObjectBuilder<DerivativeAggregate>
Builder for
DerivativeAggregate
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DerivativeAggregate
build()
Builds aDerivativeAggregate
.DerivativeAggregate.Builder
normalizedValue(java.lang.Double value)
API name:normalized_value
DerivativeAggregate.Builder
normalizedValueAsString(java.lang.String value)
API name:normalized_value_as_string
protected DerivativeAggregate.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.SingleMetricAggregateBase.AbstractBuilder
value, valueAsString
Methods inherited from class co.elastic.clients.elasticsearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
normalizedValue
API name:normalized_value
-
normalizedValueAsString
API name:normalized_value_as_string
-
self
- Specified by:
self
in classAggregateBase.AbstractBuilder<DerivativeAggregate.Builder>
-
build
Builds aDerivativeAggregate
.- Specified by:
build
in interfaceObjectBuilder<DerivativeAggregate>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-