Class PendingTasksRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cluster.PendingTasksRequest
- All Implemented Interfaces:
ToCopyableBuilder<PendingTasksRequest.Builder,PendingTasksRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PendingTasksRequest
extends RequestBase
implements ToCopyableBuilder<PendingTasksRequest.Builder,PendingTasksRequest>
Returns a list of pending cluster-level tasks, such as index creation, mapping updates, or new allocations.
-
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 TypeFieldDescriptionstatic final Endpoint<PendingTasksRequest, PendingTasksResponse, ErrorResponse> Endpoint "cluster.pending_tasks". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static PendingTasksRequest.Builderbuilder()final TimeThe amount of time to wait for a response from the cluster manager node.booleaninthashCode()final Booleanlocal()Whentrue, the request retrieves information from the local node only.final TimeDeprecated.static PendingTasksRequestCreate 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
Endpoint "cluster.pending_tasks".
-
-
Method Details
-
of
public static PendingTasksRequest of(Function<PendingTasksRequest.Builder, ObjectBuilder<PendingTasksRequest>> fn) -
clusterManagerTimeout
The amount of time to wait for a response from the cluster manager node. For more information about supported time units, see Common parameters.API name:
cluster_manager_timeout -
local
Whentrue, the request retrieves information from the local node only. Whenfalse, information is retrieved from the cluster manager node.API name:
local -
masterTimeout
Deprecated.A duration. Units can benanos,micros,ms(milliseconds),s(seconds),m(minutes),h(hours) andd(days). Also accepts0without a unit and-1to indicate an unspecified value.API name:
master_timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PendingTasksRequest.Builder,PendingTasksRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-