Class ElasticsearchLogstashAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchLogstashAsyncClient>
co.elastic.clients.elasticsearch.logstash.ElasticsearchLogstashAsyncClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ElasticsearchLogstashAsyncClient
extends ApiClient<ElasticsearchTransport,ElasticsearchLogstashAsyncClient>
Client for the logstash namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchLogstashAsyncClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptiondeletePipeline
(DeletePipelineRequest request) Delete a Logstash pipeline.final CompletableFuture<BooleanResponse>
Delete a Logstash pipeline.Get Logstash pipelines.getPipeline
(GetPipelineRequest request) Get Logstash pipelines.Get Logstash pipelines.putPipeline
(PutPipelineRequest request) Create or update a Logstash pipeline.final CompletableFuture<BooleanResponse>
Create or update a Logstash pipeline.withTransportOptions
(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, close, getDeserializer, withTransportOptions
-
Constructor Details
-
ElasticsearchLogstashAsyncClient
-
ElasticsearchLogstashAsyncClient
public ElasticsearchLogstashAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchLogstashAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchLogstashAsyncClient>
-
deletePipeline
Delete a Logstash pipeline. Delete a pipeline that is used for Logstash Central Management. If the request succeeds, you receive an empty response with an appropriate status code.- See Also:
-
deletePipeline
public final CompletableFuture<BooleanResponse> deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) Delete a Logstash pipeline. Delete a pipeline that is used for Logstash Central Management. If the request succeeds, you receive an empty response with an appropriate status code.- Parameters:
fn
- a function that initializes a builder to create theDeletePipelineRequest
- See Also:
-
getPipeline
Get Logstash pipelines. Get pipelines that are used for Logstash Central Management.- See Also:
-
getPipeline
public final CompletableFuture<GetPipelineResponse> getPipeline(Function<GetPipelineRequest.Builder, ObjectBuilder<GetPipelineRequest>> fn) Get Logstash pipelines. Get pipelines that are used for Logstash Central Management.- Parameters:
fn
- a function that initializes a builder to create theGetPipelineRequest
- See Also:
-
getPipeline
Get Logstash pipelines. Get pipelines that are used for Logstash Central Management.- See Also:
-
putPipeline
Create or update a Logstash pipeline.Create a pipeline that is used for Logstash Central Management. If the specified pipeline exists, it is replaced.
- See Also:
-
putPipeline
public final CompletableFuture<BooleanResponse> putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) Create or update a Logstash pipeline.Create a pipeline that is used for Logstash Central Management. If the specified pipeline exists, it is replaced.
- Parameters:
fn
- a function that initializes a builder to create thePutPipelineRequest
- See Also:
-