Class ReindexRethrottleRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<ReindexRethrottleRequest.Builder>
org.opensearch.client.opensearch.core.ReindexRethrottleRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<ReindexRethrottleRequest.Builder,,ReindexRethrottleRequest> MutableBuilder<ReindexRethrottleRequest.Builder,,ReindexRethrottleRequest> ObjectBuilder<ReindexRethrottleRequest>
- Enclosing class:
ReindexRethrottleRequest
public static class ReindexRethrottleRequest.Builder
extends RequestBase.AbstractBuilder<ReindexRethrottleRequest.Builder>
implements CopyableBuilder<ReindexRethrottleRequest.Builder,ReindexRethrottleRequest>
Builder for
ReindexRethrottleRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aReindexRethrottleRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.requestsPerSecond(Float value) The throttle for this request in sub-requests per second.protected ReindexRethrottleRequest.Builderself()Required - Identifier for the task.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<ReindexRethrottleRequest.Builder,ReindexRethrottleRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ReindexRethrottleRequest.Builder>
-
requestsPerSecond
The throttle for this request in sub-requests per second.API name:
requests_per_second -
taskId
Required - Identifier for the task.API name:
task_id -
build
Builds aReindexRethrottleRequest.- Specified by:
buildin interfaceObjectBuilder<ReindexRethrottleRequest>- Throws:
NullPointerException- if some of the required fields are null.
-