Class VerifyIndex.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.recovery.VerifyIndex.Builder
- All Implemented Interfaces:
CopyableBuilder<VerifyIndex.Builder,,VerifyIndex> MutableBuilder<VerifyIndex.Builder,,VerifyIndex> ObjectBuilder<VerifyIndex>
- Enclosing class:
VerifyIndex
public static class VerifyIndex.Builder
extends ObjectBuilderBase
implements CopyableBuilder<VerifyIndex.Builder,VerifyIndex>
Builder for
VerifyIndex.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aVerifyIndex.final VerifyIndex.BuilderAPI name:check_index_timefinal VerifyIndex.BuildercheckIndexTime(Time value) API name:check_index_timefinal VerifyIndex.BuildercheckIndexTimeInMillis(long value) Required - API name:check_index_time_in_milliscopy()Create a new builderCopyableBuilderthat is a copy of this one.final VerifyIndex.BuilderAPI name:total_timefinal VerifyIndex.BuilderAPI name:total_timefinal VerifyIndex.BuildertotalTimeInMillis(long value) Required - API name:total_time_in_millisMethods 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<VerifyIndex.Builder,VerifyIndex> - Returns:
- a new builder instance.
-
checkIndexTime
API name:check_index_time -
checkIndexTime
@Nonnull public final VerifyIndex.Builder checkIndexTime(Function<Time.Builder, ObjectBuilder<Time>> fn) API name:check_index_time -
checkIndexTimeInMillis
Required - API name:check_index_time_in_millis -
totalTime
API name:total_time -
totalTime
API name:total_time -
totalTimeInMillis
Required - API name:total_time_in_millis -
build
Builds aVerifyIndex.- Specified by:
buildin interfaceObjectBuilder<VerifyIndex>- Throws:
NullPointerException- if some of the required fields are null.
-