Class ElasticsearchLogstashClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchLogstashClient>
co.elastic.clients.elasticsearch.logstash.ElasticsearchLogstashClient
public class ElasticsearchLogstashClient
extends ApiClient<ElasticsearchTransport,ElasticsearchLogstashClient>
Client for the logstash namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions -
Constructor Summary
ConstructorsConstructorDescriptionElasticsearchLogstashClient(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptiondeletePipeline(DeletePipelineRequest request) Deletes a pipeline used for Logstash Central Management.final BooleanResponseDeletes a pipeline used for Logstash Central Management.Retrieves pipelines used for Logstash Central Management.getPipeline(GetPipelineRequest request) Retrieves pipelines used for Logstash Central Management.final GetPipelineResponseRetrieves pipelines used for Logstash Central Management.putPipeline(PutPipelineRequest request) Creates or updates a pipeline used for Logstash Central Management.final BooleanResponseCreates 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
-
ElasticsearchLogstashClient
-
ElasticsearchLogstashClient
public ElasticsearchLogstashClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchLogstashClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
withTransportOptionsin classApiClient<ElasticsearchTransport,ElasticsearchLogstashClient>
-
deletePipeline
public BooleanResponse deletePipeline(DeletePipelineRequest request) throws IOException, ElasticsearchException Deletes a pipeline used for Logstash Central Management.- Throws:
IOExceptionElasticsearchException- See Also:
-
deletePipeline
public final BooleanResponse deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) throws IOException, ElasticsearchExceptionDeletes a pipeline used for Logstash Central Management.- Parameters:
fn- a function that initializes a builder to create theDeletePipelineRequest- Throws:
IOExceptionElasticsearchException- See Also:
-
getPipeline
public GetPipelineResponse getPipeline(GetPipelineRequest request) throws IOException, ElasticsearchException Retrieves pipelines used for Logstash Central Management.- Throws:
IOExceptionElasticsearchException- See Also:
-
getPipeline
public final GetPipelineResponse getPipeline(Function<GetPipelineRequest.Builder, ObjectBuilder<GetPipelineRequest>> fn) throws IOException, ElasticsearchExceptionRetrieves pipelines used for Logstash Central Management.- Parameters:
fn- a function that initializes a builder to create theGetPipelineRequest- Throws:
IOExceptionElasticsearchException- See Also:
-
getPipeline
Retrieves pipelines used for Logstash Central Management.- Throws:
IOExceptionElasticsearchException- See Also:
-
putPipeline
public BooleanResponse putPipeline(PutPipelineRequest request) throws IOException, ElasticsearchException Creates or updates a pipeline used for Logstash Central Management.- Throws:
IOExceptionElasticsearchException- See Also:
-
putPipeline
public final BooleanResponse putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) throws IOException, ElasticsearchExceptionCreates or updates a pipeline used for Logstash Central Management.- Parameters:
fn- a function that initializes a builder to create thePutPipelineRequest- Throws:
IOExceptionElasticsearchException- See Also:
-