Class PutPipelineRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<PutPipelineRequest.Builder>
co.elastic.clients.elasticsearch.ingest.PutPipelineRequest.Builder
- All Implemented Interfaces:
WithJson<PutPipelineRequest.Builder>,ObjectBuilder<PutPipelineRequest>
- Enclosing class:
- PutPipelineRequest
public static class PutPipelineRequest.Builder
extends RequestBase.AbstractBuilder<PutPipelineRequest.Builder>
implements ObjectBuilder<PutPipelineRequest>
Builder for
PutPipelineRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aPutPipelineRequest.description(String value) Description of the ingest pipeline.Required - Pipeline IDmasterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.Optional metadata about the ingest pipeline.Optional metadata about the ingest pipeline.API name:on_failureAPI name:on_failureAPI name:on_failureprocessors(Processor value, Processor... values) API name:processorsAPI name:processorsprocessors(List<Processor> list) API name:processorsprotected PutPipelineRequest.Builderself()Explicit operation timeoutExplicit operation timeoutAPI name:versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
meta
Optional metadata about the ingest pipeline. May have any contents. This map is not automatically generated by Elasticsearch.API name:
_metaAdds all entries of
maptometa. -
meta
Optional metadata about the ingest pipeline. May have any contents. This map is not automatically generated by Elasticsearch.API name:
_metaAdds an entry to
meta. -
description
Description of the ingest pipeline.API name:
description -
id
Required - Pipeline IDAPI name:
id -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
masterTimeout
public final PutPipelineRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout -
onFailure
API name:on_failureAdds all elements of
listtoonFailure. -
onFailure
API name:on_failureAdds one or more values to
onFailure. -
onFailure
public final PutPipelineRequest.Builder onFailure(Function<Processor.Builder, ObjectBuilder<Processor>> fn) API name:on_failureAdds a value to
onFailureusing a builder lambda. -
processors
API name:processorsAdds all elements of
listtoprocessors. -
processors
API name:processorsAdds one or more values to
processors. -
processors
public final PutPipelineRequest.Builder processors(Function<Processor.Builder, ObjectBuilder<Processor>> fn) API name:processorsAdds a value to
processorsusing a builder lambda. -
timeout
Explicit operation timeoutAPI name:
timeout -
timeout
Explicit operation timeoutAPI name:
timeout -
version
API name:version -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<PutPipelineRequest.Builder>
-
build
Builds aPutPipelineRequest.- Specified by:
buildin interfaceObjectBuilder<PutPipelineRequest>- Throws:
NullPointerException- if some of the required fields are null.
-