Class PauseRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ingestion.PauseRequest
- All Implemented Interfaces:
ToCopyableBuilder<PauseRequest.Builder,PauseRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PauseRequest
extends RequestBase
implements ToCopyableBuilder<PauseRequest.Builder,PauseRequest>
Use this API to pause ingestion for a given index.
-
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<PauseRequest, PauseResponse, ErrorResponse> Endpoint "ingestion.pause". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static PauseRequest.Builderbuilder()final TimeTime to wait for cluster manager connection.booleaninthashCode()final Stringindex()Required - Index for which ingestion should be paused.static PauseRequestfinal Timetimeout()Timeout for the request.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
Endpoint "ingestion.pause".
-
-
Method Details
-
of
-
clusterManagerTimeout
Time to wait for cluster manager connection.API name:
cluster_manager_timeout -
index
Required - Index for which ingestion should be paused.API name:
index -
timeout
Timeout for the request.API name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PauseRequest.Builder,PauseRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-