Class PutPipelineRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.logstash.PutPipelineRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class PutPipelineRequest
extends RequestBase
implements JsonpSerializable
Creates or updates a pipeline used for Logstash Central Management.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PutPipelineRequest>
static final Endpoint<PutPipelineRequest,
BooleanResponse, ErrorResponse> Endpoint "logstash.put_pipeline
". -
Method Summary
Modifier and TypeMethodDescriptionprotected static JsonpDeserializer<PutPipelineRequest>
final String
id()
Required - Identifier for the pipeline.static PutPipelineRequest
final Pipeline
pipeline()
Required - Request body.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
-
_ENDPOINT
Endpoint "logstash.put_pipeline
".
-
-
Method Details
-
of
public static PutPipelineRequest of(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) -
id
Required - Identifier for the pipeline.API name:
id
-
pipeline
Required - Request body. -
serialize
Serialize this value to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
createPutPipelineRequestDeserializer
-