Class ValueCountAggregate.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<ValueCountAggregate.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.ValueCountAggregate.Builder
-
- All Implemented Interfaces:
ObjectBuilder<ValueCountAggregate>
- Enclosing class:
- ValueCountAggregate
public static class ValueCountAggregate.Builder extends SingleMetricAggregateBase.AbstractBuilder<ValueCountAggregate.Builder> implements ObjectBuilder<ValueCountAggregate>
Builder forValueCountAggregate.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueCountAggregatebuild()Builds aValueCountAggregate.protected ValueCountAggregate.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 ValueCountAggregate.Builder self()
- Specified by:
selfin classAggregateBase.AbstractBuilder<ValueCountAggregate.Builder>
-
build
public ValueCountAggregate build()
Builds aValueCountAggregate.- Specified by:
buildin interfaceObjectBuilder<ValueCountAggregate>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-