Class RemoteVectorIndexBuildStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.knn.RemoteVectorIndexBuildStats.Builder
- All Implemented Interfaces:
CopyableBuilder<RemoteVectorIndexBuildStats.Builder,,RemoteVectorIndexBuildStats> MutableBuilder<RemoteVectorIndexBuildStats.Builder,,RemoteVectorIndexBuildStats> ObjectBuilder<RemoteVectorIndexBuildStats>
- Enclosing class:
RemoteVectorIndexBuildStats
public static class RemoteVectorIndexBuildStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<RemoteVectorIndexBuildStats.Builder,RemoteVectorIndexBuildStats>
Builder for
RemoteVectorIndexBuildStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRemoteVectorIndexBuildStats.buildStats(Function<RemoteVectorIndexBuildStatsDetails.Builder, ObjectBuilder<RemoteVectorIndexBuildStatsDetails>> fn) API name:build_statsAPI name:build_statsclientStats(Function<RemoteVectorIndexClientStats.Builder, ObjectBuilder<RemoteVectorIndexClientStats>> fn) API name:client_statsAPI name:client_statscopy()Create a new builderCopyableBuilderthat is a copy of this one.repositoryStats(Function<RemoteVectorIndexRepositoryStats.Builder, ObjectBuilder<RemoteVectorIndexRepositoryStats>> fn) API name:repository_statsAPI name:repository_statsMethods 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<RemoteVectorIndexBuildStats.Builder,RemoteVectorIndexBuildStats> - Returns:
- a new builder instance.
-
buildStats
@Nonnull public final RemoteVectorIndexBuildStats.Builder buildStats(@Nullable RemoteVectorIndexBuildStatsDetails value) API name:build_stats -
buildStats
@Nonnull public final RemoteVectorIndexBuildStats.Builder buildStats(Function<RemoteVectorIndexBuildStatsDetails.Builder, ObjectBuilder<RemoteVectorIndexBuildStatsDetails>> fn) API name:build_stats -
clientStats
@Nonnull public final RemoteVectorIndexBuildStats.Builder clientStats(@Nullable RemoteVectorIndexClientStats value) API name:client_stats -
clientStats
@Nonnull public final RemoteVectorIndexBuildStats.Builder clientStats(Function<RemoteVectorIndexClientStats.Builder, ObjectBuilder<RemoteVectorIndexClientStats>> fn) API name:client_stats -
repositoryStats
@Nonnull public final RemoteVectorIndexBuildStats.Builder repositoryStats(@Nullable RemoteVectorIndexRepositoryStats value) API name:repository_stats -
repositoryStats
@Nonnull public final RemoteVectorIndexBuildStats.Builder repositoryStats(Function<RemoteVectorIndexRepositoryStats.Builder, ObjectBuilder<RemoteVectorIndexRepositoryStats>> fn) API name:repository_stats -
build
Builds aRemoteVectorIndexBuildStats.- Specified by:
buildin interfaceObjectBuilder<RemoteVectorIndexBuildStats>- Throws:
NullPointerException- if some of the required fields are null.
-