Class ReindexRethrottleRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.core.ReindexRethrottleRequest
- All Implemented Interfaces:
ToCopyableBuilder<ReindexRethrottleRequest.Builder,ReindexRethrottleRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ReindexRethrottleRequest
extends RequestBase
implements ToCopyableBuilder<ReindexRethrottleRequest.Builder,ReindexRethrottleRequest>
Changes the number of requests per second for a particular reindex operation.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "reindex_rethrottle". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) builder()booleaninthashCode()static ReindexRethrottleRequestfinal FloatThe throttle for this request in sub-requests per second.final StringtaskId()Required - Identifier for the task.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
public static final Endpoint<ReindexRethrottleRequest,ReindexRethrottleResponse, _ENDPOINTErrorResponse> Endpoint "reindex_rethrottle".
-
-
Method Details
-
of
public static ReindexRethrottleRequest of(Function<ReindexRethrottleRequest.Builder, ObjectBuilder<ReindexRethrottleRequest>> fn) -
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 -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ReindexRethrottleRequest.Builder,ReindexRethrottleRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-