Class RemoteVectorIndexRepositoryStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.knn.RemoteVectorIndexRepositoryStats.Builder
- All Implemented Interfaces:
CopyableBuilder<RemoteVectorIndexRepositoryStats.Builder,,RemoteVectorIndexRepositoryStats> MutableBuilder<RemoteVectorIndexRepositoryStats.Builder,,RemoteVectorIndexRepositoryStats> ObjectBuilder<RemoteVectorIndexRepositoryStats>
- Enclosing class:
RemoteVectorIndexRepositoryStats
public static class RemoteVectorIndexRepositoryStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<RemoteVectorIndexRepositoryStats.Builder,RemoteVectorIndexRepositoryStats>
Builder for
RemoteVectorIndexRepositoryStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRemoteVectorIndexRepositoryStats.copy()Create a new builderCopyableBuilderthat is a copy of this one.readFailureCount(Long value) API name:read_failure_countreadSuccessCount(Long value) API name:read_success_countsuccessfulReadTimeInMillis(Long value) API name:successful_read_time_in_millissuccessfulWriteTimeInMillis(Long value) API name:successful_write_time_in_milliswriteFailureCount(Long value) API name:write_failure_countwriteSuccessCount(Long value) API name:write_success_countMethods 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<RemoteVectorIndexRepositoryStats.Builder,RemoteVectorIndexRepositoryStats> - Returns:
- a new builder instance.
-
readFailureCount
@Nonnull public final RemoteVectorIndexRepositoryStats.Builder readFailureCount(@Nullable Long value) API name:read_failure_count -
readSuccessCount
@Nonnull public final RemoteVectorIndexRepositoryStats.Builder readSuccessCount(@Nullable Long value) API name:read_success_count -
successfulReadTimeInMillis
@Nonnull public final RemoteVectorIndexRepositoryStats.Builder successfulReadTimeInMillis(@Nullable Long value) API name:successful_read_time_in_millis -
successfulWriteTimeInMillis
@Nonnull public final RemoteVectorIndexRepositoryStats.Builder successfulWriteTimeInMillis(@Nullable Long value) API name:successful_write_time_in_millis -
writeFailureCount
@Nonnull public final RemoteVectorIndexRepositoryStats.Builder writeFailureCount(@Nullable Long value) API name:write_failure_count -
writeSuccessCount
@Nonnull public final RemoteVectorIndexRepositoryStats.Builder writeSuccessCount(@Nullable Long value) API name:write_success_count -
build
Builds aRemoteVectorIndexRepositoryStats.- Specified by:
buildin interfaceObjectBuilder<RemoteVectorIndexRepositoryStats>- Throws:
NullPointerException- if some of the required fields are null.
-