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 SummaryFields inherited from class co.elastic.clients.ApiClienttransport, transportOptions
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchLogstashAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) 
- 
Method SummaryModifier 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
- 
ElasticsearchLogstashAsyncClientpublic ElasticsearchLogstashAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions) 
 
- 
- 
Method Details- 
withTransportOptionspublic ElasticsearchLogstashAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
- withTransportOptionsin class- ApiClient<ElasticsearchTransport,- ElasticsearchLogstashAsyncClient> 
 
- 
deletePipelineDelete 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:
 
- 
deletePipelinepublic 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 the- DeletePipelineRequest
- See Also:
 
- 
getPipelineGet Logstash pipelines. Get pipelines that are used for Logstash Central Management.- See Also:
 
- 
getPipelinepublic 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 the- GetPipelineRequest
- See Also:
 
- 
getPipelineGet Logstash pipelines. Get pipelines that are used for Logstash Central Management.- See Also:
 
- 
putPipelineCreate 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:
 
- 
putPipelinepublic 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 the- PutPipelineRequest
- See Also:
 
 
-