Class AdjacencyMatrixBucket.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder<AdjacencyMatrixBucket.Builder>
org.opensearch.client.opensearch._types.aggregations.AdjacencyMatrixBucket.Builder
- All Implemented Interfaces:
CopyableBuilder<AdjacencyMatrixBucket.Builder,,AdjacencyMatrixBucket> MutableBuilder<AdjacencyMatrixBucket.Builder,,AdjacencyMatrixBucket> ObjectBuilder<AdjacencyMatrixBucket>
- Enclosing class:
AdjacencyMatrixBucket
public static class AdjacencyMatrixBucket.Builder
extends MultiBucketBase.AbstractBuilder<AdjacencyMatrixBucket.Builder>
implements CopyableBuilder<AdjacencyMatrixBucket.Builder,AdjacencyMatrixBucket>
Builder for
AdjacencyMatrixBucket.-
Field Summary
Fields inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAdjacencyMatrixBucket.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:keyprotected AdjacencyMatrixBucket.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.aggregations.MultiBucketBase.AbstractBuilder
aggregations, aggregations, aggregations, docCountMethods 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<AdjacencyMatrixBucket.Builder,AdjacencyMatrixBucket> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classMultiBucketBase.AbstractBuilder<AdjacencyMatrixBucket.Builder>
-
key
Required - API name:key -
build
Builds aAdjacencyMatrixBucket.- Specified by:
buildin interfaceObjectBuilder<AdjacencyMatrixBucket>- Throws:
NullPointerException- if some of the required fields are null.
-