Class AdjacencyMatrixAggregate.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder<AdjacencyMatrixAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder<AdjacencyMatrixBucket,AdjacencyMatrixAggregate.Builder>
org.opensearch.client.opensearch._types.aggregations.AdjacencyMatrixAggregate.Builder
- All Implemented Interfaces:
CopyableBuilder<AdjacencyMatrixAggregate.Builder,,AdjacencyMatrixAggregate> MutableBuilder<AdjacencyMatrixAggregate.Builder,,AdjacencyMatrixAggregate> ObjectBuilder<AdjacencyMatrixAggregate>
- Enclosing class:
AdjacencyMatrixAggregate
public static class AdjacencyMatrixAggregate.Builder
extends MultiBucketAggregateBase.AbstractBuilder<AdjacencyMatrixBucket,AdjacencyMatrixAggregate.Builder>
implements CopyableBuilder<AdjacencyMatrixAggregate.Builder,AdjacencyMatrixAggregate>
Builder for
AdjacencyMatrixAggregate.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAdjacencyMatrixAggregate.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected AdjacencyMatrixAggregate.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketAggregateBase.AbstractBuilder
buckets, bucketsMethods inherited from class org.opensearch.client.opensearch._types.aggregations.AggregateBase.AbstractBuilder
meta, metaMethods 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<AdjacencyMatrixAggregate.Builder,AdjacencyMatrixAggregate> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classAggregateBase.AbstractBuilder<AdjacencyMatrixAggregate.Builder>
-
build
Builds aAdjacencyMatrixAggregate.- Specified by:
buildin interfaceObjectBuilder<AdjacencyMatrixAggregate>- Throws:
NullPointerException- if some of the required fields are null.
-