Class MatrixStatsAggregation.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder<MatrixStatsAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.MatrixAggregation.AbstractBuilder<MatrixStatsAggregation.Builder>
org.opensearch.client.opensearch._types.aggregations.MatrixStatsAggregation.Builder
- All Implemented Interfaces:
CopyableBuilder<MatrixStatsAggregation.Builder,,MatrixStatsAggregation> MutableBuilder<MatrixStatsAggregation.Builder,,MatrixStatsAggregation> ObjectBuilder<MatrixStatsAggregation>
- Enclosing class:
MatrixStatsAggregation
public static class MatrixStatsAggregation.Builder
extends MatrixAggregation.AbstractBuilder<MatrixStatsAggregation.Builder>
implements CopyableBuilder<MatrixStatsAggregation.Builder,MatrixStatsAggregation>
Builder for
MatrixStatsAggregation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aMatrixStatsAggregation.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:modeprotected MatrixStatsAggregation.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MatrixAggregation.AbstractBuilder
fields, fields, missing, missingMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregationBase.AbstractBuilder
meta, meta, nameMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<MatrixStatsAggregation.Builder,MatrixStatsAggregation> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregationBase.AbstractBuilder<MatrixStatsAggregation.Builder>
-
mode
API name:mode -
build
Builds aMatrixStatsAggregation.- Specified by:
buildin interfaceObjectBuilder<MatrixStatsAggregation>- Throws:
NullPointerException- if some of the required fields are null.
-