Class PutPipelineRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<PutPipelineRequest.Builder>
org.opensearch.client.opensearch.ingest.PutPipelineRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<PutPipelineRequest.Builder,,PutPipelineRequest> MutableBuilder<PutPipelineRequest.Builder,,PutPipelineRequest> ObjectBuilder<PutPipelineRequest>
- Enclosing class:
PutPipelineRequest
public static class PutPipelineRequest.Builder
extends RequestBase.AbstractBuilder<PutPipelineRequest.Builder>
implements CopyableBuilder<PutPipelineRequest.Builder,PutPipelineRequest>
Builder for
PutPipelineRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPutPipelineRequest.The amount of time allowed to establish a connection to the cluster manager node.clusterManagerTimeout(Time value) The amount of time allowed to establish a connection to the cluster manager node.copy()Create a new builderCopyableBuilderthat is a copy of this one.description(String value) The description for the ingest pipeline.Required - The ID of the ingest pipeline.Deprecated.masterTimeout(Time value) Deprecated.API name:_metaAPI name:_metaThe new processor to run immediately after another processor fails.The new processor to run immediately after another processor fails.The new processor to run immediately after another processor fails.The processors used to perform transformations on documents before indexing.processors(List<Processor> list) The processors used to perform transformations on documents before indexing.processors(Processor value, Processor... values) The processors used to perform transformations on documents before indexing.protected PutPipelineRequest.Builderself()The amount of time to wait for a response.The amount of time to wait for a response.API name:versionMethods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<PutPipelineRequest.Builder,PutPipelineRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<PutPipelineRequest.Builder>
-
clusterManagerTimeout
The amount of time allowed to establish a connection to the cluster manager node.API name:
cluster_manager_timeout -
clusterManagerTimeout
@Nonnull public final PutPipelineRequest.Builder clusterManagerTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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 -
masterTimeout
@Deprecated @Nonnull public final PutPipelineRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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:_metaAdds all elements of
maptometa. -
meta
API name:_metaAdds an entry to
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_failureAdds all elements of
listtoonFailure. -
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_failureAdds one or more values to
onFailure. -
onFailure
@Nonnull public final PutPipelineRequest.Builder onFailure(Function<Processor.Builder, ObjectBuilder<Processor>> fn) 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_failureAdds a value to
onFailureusing a builder lambda. -
processors
The processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processorsAdds all elements of
listtoprocessors. -
processors
The processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processorsAdds one or more values to
processors. -
processors
@Nonnull public final PutPipelineRequest.Builder processors(Function<Processor.Builder, ObjectBuilder<Processor>> fn) The processors used to perform transformations on documents before indexing. Processors run sequentially in the order specified.API name:
processorsAdds a value to
processorsusing a builder lambda. -
timeout
The amount of time to wait for a response.API name:
timeout -
timeout
@Nonnull public final PutPipelineRequest.Builder timeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The amount of time to wait for a response.API name:
timeout -
version
API name:version -
build
Builds aPutPipelineRequest.- Specified by:
buildin interfaceObjectBuilder<PutPipelineRequest>- Throws:
NullPointerException- if some of the required fields are null.
-