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
ConstructorDescriptionElasticsearchLogstashClient
(ElasticsearchTransport transport, TransportOptions transportOptions) -
Method Summary
Modifier and TypeMethodDescriptiondeletePipeline
(DeletePipelineRequest request) Deletes Logstash Pipelines used by Central Managementfinal BooleanResponse
Deletes Logstash Pipelines used by Central ManagementgetPipeline
(GetPipelineRequest request) Retrieves Logstash Pipelines used by Central Managementfinal GetPipelineResponse
Retrieves Logstash Pipelines used by Central ManagementputPipeline
(PutPipelineRequest request) Adds and updates Logstash Pipelines used for Central Managementfinal BooleanResponse
Adds and updates Logstash Pipelines used for Central ManagementwithTransportOptions
(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:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,
ElasticsearchLogstashClient>
-
deletePipeline
public BooleanResponse deletePipeline(DeletePipelineRequest request) throws IOException, ElasticsearchException Deletes Logstash Pipelines used by Central Management- Throws:
IOException
ElasticsearchException
- See Also:
-
deletePipeline
public final BooleanResponse deletePipeline(Function<DeletePipelineRequest.Builder, ObjectBuilder<DeletePipelineRequest>> fn) throws IOException, ElasticsearchExceptionDeletes Logstash Pipelines used by Central Management- Parameters:
fn
- a function that initializes a builder to create theDeletePipelineRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
getPipeline
public GetPipelineResponse getPipeline(GetPipelineRequest request) throws IOException, ElasticsearchException Retrieves Logstash Pipelines used by Central Management- Throws:
IOException
ElasticsearchException
- See Also:
-
getPipeline
public final GetPipelineResponse getPipeline(Function<GetPipelineRequest.Builder, ObjectBuilder<GetPipelineRequest>> fn) throws IOException, ElasticsearchExceptionRetrieves Logstash Pipelines used by Central Management- Parameters:
fn
- a function that initializes a builder to create theGetPipelineRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-
putPipeline
public BooleanResponse putPipeline(PutPipelineRequest request) throws IOException, ElasticsearchException Adds and updates Logstash Pipelines used for Central Management- Throws:
IOException
ElasticsearchException
- See Also:
-
putPipeline
public final BooleanResponse putPipeline(Function<PutPipelineRequest.Builder, ObjectBuilder<PutPipelineRequest>> fn) throws IOException, ElasticsearchExceptionAdds and updates Logstash Pipelines used for Central Management- Parameters:
fn
- a function that initializes a builder to create thePutPipelineRequest
- Throws:
IOException
ElasticsearchException
- See Also:
-