Class ElasticsearchStreamsAsyncClient
- All Implemented Interfaces:
- Closeable,- AutoCloseable
- 
Field SummaryFields inherited from class co.elastic.clients.ApiClienttransport, transportOptions
- 
Constructor SummaryConstructorsConstructorDescriptionElasticsearchStreamsAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions) 
- 
Method SummaryModifier and TypeMethodDescriptionDisable logs stream.logsDisable(LogsDisableRequest request) Disable logs stream.Disable logs stream.Enable logs stream.logsEnable(LogsEnableRequest request) Enable logs stream.Enable logs stream.status()Get the status of streams.status(StreamsStatusRequest request) Get the status of streams.Get the status of streams.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- 
ElasticsearchStreamsAsyncClient
- 
ElasticsearchStreamsAsyncClientpublic ElasticsearchStreamsAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions) 
 
- 
- 
Method Details- 
withTransportOptionspublic ElasticsearchStreamsAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions) Description copied from class:ApiClientCreates a new client with some request options- Specified by:
- withTransportOptionsin class- ApiClient<ElasticsearchTransport,- ElasticsearchStreamsAsyncClient> 
 
- 
logsDisableDisable logs stream.Turn off the logs stream feature for this cluster. - See Also:
 
- 
logsDisablepublic final CompletableFuture<LogsDisableResponse> logsDisable(Function<LogsDisableRequest.Builder, ObjectBuilder<LogsDisableRequest>> fn) Disable logs stream.Turn off the logs stream feature for this cluster. - Parameters:
- fn- a function that initializes a builder to create the- LogsDisableRequest
- See Also:
 
- 
logsDisableDisable logs stream.Turn off the logs stream feature for this cluster. - See Also:
 
- 
logsEnableEnable logs stream.Turn on the logs stream feature for this cluster. NOTE: To protect existing data, this feature can be turned on only if the cluster does not have existing indices or data streams that match the pattern logs|logs.*. If those indices or data streams exist, a409 - Conflictresponse and error is returned.- See Also:
 
- 
logsEnablepublic final CompletableFuture<LogsEnableResponse> logsEnable(Function<LogsEnableRequest.Builder, ObjectBuilder<LogsEnableRequest>> fn) Enable logs stream.Turn on the logs stream feature for this cluster. NOTE: To protect existing data, this feature can be turned on only if the cluster does not have existing indices or data streams that match the pattern logs|logs.*. If those indices or data streams exist, a409 - Conflictresponse and error is returned.- Parameters:
- fn- a function that initializes a builder to create the- LogsEnableRequest
- See Also:
 
- 
logsEnableEnable logs stream.Turn on the logs stream feature for this cluster. NOTE: To protect existing data, this feature can be turned on only if the cluster does not have existing indices or data streams that match the pattern logs|logs.*. If those indices or data streams exist, a409 - Conflictresponse and error is returned.- See Also:
 
- 
statusGet the status of streams.Get the current status for all types of streams. - See Also:
 
- 
statuspublic final CompletableFuture<StreamsStatusResponse> status(Function<StreamsStatusRequest.Builder, ObjectBuilder<StreamsStatusRequest>> fn) Get the status of streams.Get the current status for all types of streams. - Parameters:
- fn- a function that initializes a builder to create the- StreamsStatusRequest
- See Also:
 
- 
statusGet the status of streams.Get the current status for all types of streams. - See Also:
 
 
-