Class MatrixStatsAggregation.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.aggregations.MatrixAggregation.AbstractBuilder<MatrixStatsAggregation.Builder>
-
- org.opensearch.client.opensearch._types.aggregations.MatrixStatsAggregation.Builder
-
- All Implemented Interfaces:
ObjectBuilder<MatrixStatsAggregation>
- Enclosing class:
- MatrixStatsAggregation
public static class MatrixStatsAggregation.Builder extends MatrixAggregation.AbstractBuilder<MatrixStatsAggregation.Builder> implements ObjectBuilder<MatrixStatsAggregation>
Builder forMatrixStatsAggregation.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatrixStatsAggregationbuild()Builds aMatrixStatsAggregation.MatrixStatsAggregation.Buildermode(SortMode value)API name:modeprotected MatrixStatsAggregation.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MatrixAggregation.AbstractBuilder
fields, fields, missing, missing
-
Methods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, name
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
mode
public final MatrixStatsAggregation.Builder mode(@Nullable SortMode value)
API name:mode
-
self
protected MatrixStatsAggregation.Builder self()
- Specified by:
selfin classAggregationBase.AbstractBuilder<MatrixStatsAggregation.Builder>
-
build
public MatrixStatsAggregation build()
Builds aMatrixStatsAggregation.- Specified by:
buildin interfaceObjectBuilder<MatrixStatsAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-