Class GraphStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.knn.GraphStats.Builder
- All Implemented Interfaces:
CopyableBuilder<GraphStats.Builder,,GraphStats> MutableBuilder<GraphStats.Builder,,GraphStats> ObjectBuilder<GraphStats>
- Enclosing class:
GraphStats
public static class GraphStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<GraphStats.Builder,GraphStats>
Builder for
GraphStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGraphStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.final GraphStats.BuilderAPI name:mergefinal GraphStats.Buildermerge(GraphMergeStats value) API name:mergefinal GraphStats.BuilderAPI name:refreshfinal GraphStats.Builderrefresh(GraphRefreshStats value) API name:refreshMethods 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<GraphStats.Builder,GraphStats> - Returns:
- a new builder instance.
-
merge
API name:merge -
merge
@Nonnull public final GraphStats.Builder merge(Function<GraphMergeStats.Builder, ObjectBuilder<GraphMergeStats>> fn) API name:merge -
refresh
API name:refresh -
refresh
@Nonnull public final GraphStats.Builder refresh(Function<GraphRefreshStats.Builder, ObjectBuilder<GraphRefreshStats>> fn) API name:refresh -
build
Builds aGraphStats.- Specified by:
buildin interfaceObjectBuilder<GraphStats>- Throws:
NullPointerException- if some of the required fields are null.
-