Class PutPipelineRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.ingest.PutPipelineRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PutPipelineRequest.Builder,PutPipelineRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PutPipelineRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PutPipelineRequest.Builder,PutPipelineRequest>
Creates or updates an ingest pipeline.
-
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<PutPipelineRequest> Json deserializer forPutPipelineRequeststatic final Endpoint<PutPipelineRequest, PutPipelineResponse, ErrorResponse> Endpoint "ingest.put_pipeline". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static PutPipelineRequest.Builderbuilder()final TimeThe amount of time allowed to establish a connection to the cluster manager node.final StringThe description for the ingest pipeline.booleaninthashCode()final Stringid()Required - The ID of the ingest pipeline.final TimeDeprecated.meta()API name:_metastatic PutPipelineRequestThe new processor to run immediately after another processor fails.The processors used to perform transformations on documents before indexing.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()The amount of time to wait for a response.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longversion()API name:versionMethods 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 forPutPipelineRequest -
_ENDPOINT
Endpoint "ingest.put_pipeline".
-
-
Method Details
-
of
public static PutPipelineRequest of(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) -
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
description
The description for the ingest pipeline.API name:
description -
id
Required - The ID of the ingest pipeline.API name:
id -
masterTimeout
Deprecated.Period to wait for a connection to the cluster-manager node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
meta
API name:_meta -
onFailure
The new processor to run immediately after another processor fails. The processors specified in theon_failureparameter run sequentially in the order specified. If no pipeline are specified inon_failurearray is specified, OpenSearch will not attempt to run the pipeline's remaining processors.API name:
on_failure -
processors
The processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processors -
timeout
The amount of time to wait for a response.API name:
timeout -
version
API name:version -
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<PutPipelineRequest.Builder,PutPipelineRequest> - Returns:
- a new builder instance.
-
builder
-
setupPutPipelineRequestDeserializer
protected static void setupPutPipelineRequestDeserializer(ObjectDeserializer<PutPipelineRequest.Builder> op) -
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-