Class ElasticsearchLogstashAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchLogstashAsyncClient>
co.elastic.clients.elasticsearch.logstash.ElasticsearchLogstashAsyncClient
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) Deletes a pipeline used for Logstash Central Management.final CompletableFuture<BooleanResponse>Deletes a pipeline used for Logstash Central Management.Retrieves pipelines used for Logstash Central Management.getPipeline(GetPipelineRequest request) Retrieves pipelines used for Logstash Central Management.Retrieves pipelines used for Logstash Central Management.putPipeline(PutPipelineRequest request) Creates or updates a pipeline used for Logstash Central Management.final CompletableFuture<BooleanResponse>Creates or updates a pipeline used for Logstash Central Management.withTransportOptions(TransportOptions transportOptions) Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_jsonpMapper, _transport, _transportOptions, 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:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchLogstashAsyncClient>
-
deletePipeline
Deletes a pipeline used for Logstash Central Management.- See Also:
-
deletePipeline
public final CompletableFuture<BooleanResponse> deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) Deletes a pipeline used for Logstash Central Management.- Parameters:
fn- a function that initializes a builder to create theDeletePipelineRequest- See Also:
-
getPipeline
Retrieves pipelines used for Logstash Central Management.- See Also:
-
getPipeline
public final CompletableFuture<GetPipelineResponse> getPipeline(Function<GetPipelineRequest.Builder, ObjectBuilder<GetPipelineRequest>> fn) Retrieves pipelines used for Logstash Central Management.- Parameters:
fn- a function that initializes a builder to create theGetPipelineRequest- See Also:
-
getPipeline
Retrieves pipelines used for Logstash Central Management.- See Also:
-
putPipeline
Creates or updates a pipeline used for Logstash Central Management.- See Also:
-
putPipeline
public final CompletableFuture<BooleanResponse> putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) Creates or updates a pipeline used for Logstash Central Management.- Parameters:
fn- a function that initializes a builder to create thePutPipelineRequest- See Also:
-