Class ResumeRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ingestion.ResumeRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ResumeRequest.Builder,ResumeRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ResumeRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<ResumeRequest.Builder,ResumeRequest>
Use this API to resume ingestion for the 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 JsonpDeserializer<ResumeRequest> Json deserializer forResumeRequeststatic final Endpoint<ResumeRequest, ResumeResponse, ErrorResponse> Endpoint "ingestion.resume". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static ResumeRequest.Builderbuilder()final TimeTime to wait for cluster manager connection.booleaninthashCode()final Stringindex()Required - Index for which ingestion should be resumed.static ResumeRequestfinal List<ResetSettings> Reset settings to be applied before resuming ingestion on a shard.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal 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.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forResumeRequest -
_ENDPOINT
Endpoint "ingestion.resume".
-
-
Method Details
-
of
-
clusterManagerTimeout
Time to wait for cluster manager connection.API name:
cluster_manager_timeout -
index
Required - Index for which ingestion should be resumed.API name:
index -
resetSettings
Reset settings to be applied before resuming ingestion on a shard. This is optional.API name:
reset_settings -
timeout
Timeout for the request.API name:
timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ResumeRequest.Builder,ResumeRequest> - Returns:
- a new builder instance.
-
builder
-
setupResumeRequestDeserializer
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-