Class MatrixStatsAggregation.Builder
java.lang.Object
org.opensearch.client.opensearch._types.aggregations.Aggregation.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 for
MatrixStatsAggregation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description MatrixStatsAggregationbuild()Builds aMatrixStatsAggregation.MatrixStatsAggregation.Buildermode(jakarta.json.JsonValue value)API name:modeprotected MatrixStatsAggregation.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MatrixAggregation.AbstractBuilder
addFields, fields, fields, missing, putMissingMethods inherited from class org.opensearch.client.opensearch._types.aggregations.Aggregation.AbstractBuilder
meta, name, putMeta
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
API name:mode -
self
- Specified by:
selfin classAggregation.AbstractBuilder<MatrixStatsAggregation.Builder>
-
build
Builds aMatrixStatsAggregation.- Specified by:
buildin interfaceObjectBuilder<MatrixStatsAggregation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-