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 MatrixStatsAggregation
build()
Builds aMatrixStatsAggregation
.MatrixStatsAggregation.Builder
mode(SortMode value)
API name:mode
protected MatrixStatsAggregation.Builder
self()
-
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, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
mode
public final MatrixStatsAggregation.Builder mode(@Nullable SortMode value)
API name:mode
-
self
protected MatrixStatsAggregation.Builder self()
- Specified by:
self
in classAggregationBase.AbstractBuilder<MatrixStatsAggregation.Builder>
-
build
public MatrixStatsAggregation build()
Builds aMatrixStatsAggregation
.- Specified by:
build
in interfaceObjectBuilder<MatrixStatsAggregation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-