Class WarmupRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<WarmupRequest.Builder>
org.opensearch.client.opensearch.knn.WarmupRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<WarmupRequest.Builder,,WarmupRequest> MutableBuilder<WarmupRequest.Builder,,WarmupRequest> ObjectBuilder<WarmupRequest>
- Enclosing class:
WarmupRequest
public static class WarmupRequest.Builder
extends RequestBase.AbstractBuilder<WarmupRequest.Builder>
implements CopyableBuilder<WarmupRequest.Builder,WarmupRequest>
Builder for
WarmupRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aWarmupRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.final WarmupRequest.BuilderRequired - A comma-separated list of indexes; use_allor empty string to perform the operation on all indexes.final WarmupRequest.BuilderRequired - A comma-separated list of indexes; use_allor empty string to perform the operation on all indexes.protected WarmupRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods 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<WarmupRequest.Builder,WarmupRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<WarmupRequest.Builder>
-
index
Required - A comma-separated list of indexes; use_allor empty string to perform the operation on all indexes.API name:
indexAdds all elements of
listtoindex. -
index
Required - A comma-separated list of indexes; use_allor empty string to perform the operation on all indexes.API name:
indexAdds one or more values to
index. -
build
Builds aWarmupRequest.- Specified by:
buildin interfaceObjectBuilder<WarmupRequest>- Throws:
NullPointerException- if some of the required fields are null.
-