Class SimpleValueAggregate.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase.AbstractBuilder<SimpleValueAggregate.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.SimpleValueAggregate.Builder
-
- All Implemented Interfaces:
ObjectBuilder<SimpleValueAggregate>
- Enclosing class:
- SimpleValueAggregate
public static class SimpleValueAggregate.Builder extends SingleMetricAggregateBase.AbstractBuilder<SimpleValueAggregate.Builder> implements ObjectBuilder<SimpleValueAggregate>
Builder forSimpleValueAggregate.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleValueAggregatebuild()Builds aSimpleValueAggregate.protected SimpleValueAggregate.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.SingleMetricAggregateBase.AbstractBuilder
value, valueAsString
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, meta
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
self
protected SimpleValueAggregate.Builder self()
- Specified by:
selfin classAggregateBase.AbstractBuilder<SimpleValueAggregate.Builder>
-
build
public SimpleValueAggregate build()
Builds aSimpleValueAggregate.- Specified by:
buildin interfaceObjectBuilder<SimpleValueAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-