Class ElasticsearchMlAsyncClient
java.lang.Object
co.elastic.clients.ApiClient<ElasticsearchTransport,ElasticsearchMlAsyncClient>
co.elastic.clients.elasticsearch.ml.ElasticsearchMlAsyncClient
public class ElasticsearchMlAsyncClient extends ApiClient<ElasticsearchTransport,ElasticsearchMlAsyncClient>
Client for the ml namespace.
-
Field Summary
Fields inherited from class co.elastic.clients.ApiClient
transport, transportOptions
-
Constructor Summary
Constructors Constructor Description ElasticsearchMlAsyncClient(ElasticsearchTransport transport)
ElasticsearchMlAsyncClient(ElasticsearchTransport transport, TransportOptions transportOptions)
-
Method Summary
Modifier and Type Method Description java.util.concurrent.CompletableFuture<CloseJobResponse>
closeJob(CloseJobRequest request)
Closes one or more anomaly detection jobs.java.util.concurrent.CompletableFuture<CloseJobResponse>
closeJob(java.util.function.Function<CloseJobRequest.Builder,ObjectBuilder<CloseJobRequest>> fn)
Closes one or more anomaly detection jobs.java.util.concurrent.CompletableFuture<DeleteCalendarResponse>
deleteCalendar(DeleteCalendarRequest request)
Deletes a calendar.java.util.concurrent.CompletableFuture<DeleteCalendarResponse>
deleteCalendar(java.util.function.Function<DeleteCalendarRequest.Builder,ObjectBuilder<DeleteCalendarRequest>> fn)
Deletes a calendar.java.util.concurrent.CompletableFuture<DeleteCalendarEventResponse>
deleteCalendarEvent(DeleteCalendarEventRequest request)
Deletes scheduled events from a calendar.java.util.concurrent.CompletableFuture<DeleteCalendarEventResponse>
deleteCalendarEvent(java.util.function.Function<DeleteCalendarEventRequest.Builder,ObjectBuilder<DeleteCalendarEventRequest>> fn)
Deletes scheduled events from a calendar.java.util.concurrent.CompletableFuture<DeleteCalendarJobResponse>
deleteCalendarJob(DeleteCalendarJobRequest request)
Deletes anomaly detection jobs from a calendar.java.util.concurrent.CompletableFuture<DeleteCalendarJobResponse>
deleteCalendarJob(java.util.function.Function<DeleteCalendarJobRequest.Builder,ObjectBuilder<DeleteCalendarJobRequest>> fn)
Deletes anomaly detection jobs from a calendar.java.util.concurrent.CompletableFuture<DeleteDatafeedResponse>
deleteDatafeed(DeleteDatafeedRequest request)
Deletes an existing datafeed.java.util.concurrent.CompletableFuture<DeleteDatafeedResponse>
deleteDatafeed(java.util.function.Function<DeleteDatafeedRequest.Builder,ObjectBuilder<DeleteDatafeedRequest>> fn)
Deletes an existing datafeed.java.util.concurrent.CompletableFuture<DeleteDataFrameAnalyticsResponse>
deleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequest request)
Deletes an existing data frame analytics job.java.util.concurrent.CompletableFuture<DeleteDataFrameAnalyticsResponse>
deleteDataFrameAnalytics(java.util.function.Function<DeleteDataFrameAnalyticsRequest.Builder,ObjectBuilder<DeleteDataFrameAnalyticsRequest>> fn)
Deletes an existing data frame analytics job.java.util.concurrent.CompletableFuture<DeleteExpiredDataResponse>
deleteExpiredData()
Deletes expired and unused machine learning data.java.util.concurrent.CompletableFuture<DeleteExpiredDataResponse>
deleteExpiredData(DeleteExpiredDataRequest request)
Deletes expired and unused machine learning data.java.util.concurrent.CompletableFuture<DeleteExpiredDataResponse>
deleteExpiredData(java.util.function.Function<DeleteExpiredDataRequest.Builder,ObjectBuilder<DeleteExpiredDataRequest>> fn)
Deletes expired and unused machine learning data.java.util.concurrent.CompletableFuture<DeleteFilterResponse>
deleteFilter(DeleteFilterRequest request)
Deletes a filter.java.util.concurrent.CompletableFuture<DeleteFilterResponse>
deleteFilter(java.util.function.Function<DeleteFilterRequest.Builder,ObjectBuilder<DeleteFilterRequest>> fn)
Deletes a filter.java.util.concurrent.CompletableFuture<DeleteForecastResponse>
deleteForecast(DeleteForecastRequest request)
Deletes forecasts from a machine learning job.java.util.concurrent.CompletableFuture<DeleteForecastResponse>
deleteForecast(java.util.function.Function<DeleteForecastRequest.Builder,ObjectBuilder<DeleteForecastRequest>> fn)
Deletes forecasts from a machine learning job.java.util.concurrent.CompletableFuture<DeleteJobResponse>
deleteJob(DeleteJobRequest request)
Deletes an existing anomaly detection job.java.util.concurrent.CompletableFuture<DeleteJobResponse>
deleteJob(java.util.function.Function<DeleteJobRequest.Builder,ObjectBuilder<DeleteJobRequest>> fn)
Deletes an existing anomaly detection job.java.util.concurrent.CompletableFuture<DeleteModelSnapshotResponse>
deleteModelSnapshot(DeleteModelSnapshotRequest request)
Deletes an existing model snapshot.java.util.concurrent.CompletableFuture<DeleteModelSnapshotResponse>
deleteModelSnapshot(java.util.function.Function<DeleteModelSnapshotRequest.Builder,ObjectBuilder<DeleteModelSnapshotRequest>> fn)
Deletes an existing model snapshot.java.util.concurrent.CompletableFuture<DeleteTrainedModelResponse>
deleteTrainedModel(DeleteTrainedModelRequest request)
Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.java.util.concurrent.CompletableFuture<DeleteTrainedModelResponse>
deleteTrainedModel(java.util.function.Function<DeleteTrainedModelRequest.Builder,ObjectBuilder<DeleteTrainedModelRequest>> fn)
Deletes an existing trained inference model that is currently not referenced by an ingest pipeline.java.util.concurrent.CompletableFuture<DeleteTrainedModelAliasResponse>
deleteTrainedModelAlias(DeleteTrainedModelAliasRequest request)
Deletes a model alias that refers to the trained modeljava.util.concurrent.CompletableFuture<DeleteTrainedModelAliasResponse>
deleteTrainedModelAlias(java.util.function.Function<DeleteTrainedModelAliasRequest.Builder,ObjectBuilder<DeleteTrainedModelAliasRequest>> fn)
Deletes a model alias that refers to the trained modeljava.util.concurrent.CompletableFuture<EstimateModelMemoryResponse>
estimateModelMemory()
Estimates the model memoryjava.util.concurrent.CompletableFuture<EstimateModelMemoryResponse>
estimateModelMemory(EstimateModelMemoryRequest request)
Estimates the model memoryjava.util.concurrent.CompletableFuture<EstimateModelMemoryResponse>
estimateModelMemory(java.util.function.Function<EstimateModelMemoryRequest.Builder,ObjectBuilder<EstimateModelMemoryRequest>> fn)
Estimates the model memoryjava.util.concurrent.CompletableFuture<EvaluateDataFrameResponse>
evaluateDataFrame(EvaluateDataFrameRequest request)
Evaluates the data frame analytics for an annotated index.java.util.concurrent.CompletableFuture<EvaluateDataFrameResponse>
evaluateDataFrame(java.util.function.Function<EvaluateDataFrameRequest.Builder,ObjectBuilder<EvaluateDataFrameRequest>> fn)
Evaluates the data frame analytics for an annotated index.java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse>
explainDataFrameAnalytics()
Explains a data frame analytics config.java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse>
explainDataFrameAnalytics(ExplainDataFrameAnalyticsRequest request)
Explains a data frame analytics config.java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse>
explainDataFrameAnalytics(java.util.function.Function<ExplainDataFrameAnalyticsRequest.Builder,ObjectBuilder<ExplainDataFrameAnalyticsRequest>> fn)
Explains a data frame analytics config.java.util.concurrent.CompletableFuture<FlushJobResponse>
flushJob(FlushJobRequest request)
Forces any buffered data to be processed by the job.java.util.concurrent.CompletableFuture<FlushJobResponse>
flushJob(java.util.function.Function<FlushJobRequest.Builder,ObjectBuilder<FlushJobRequest>> fn)
Forces any buffered data to be processed by the job.java.util.concurrent.CompletableFuture<ForecastResponse>
forecast(ForecastRequest request)
Predicts the future behavior of a time series by using its historical behavior.java.util.concurrent.CompletableFuture<ForecastResponse>
forecast(java.util.function.Function<ForecastRequest.Builder,ObjectBuilder<ForecastRequest>> fn)
Predicts the future behavior of a time series by using its historical behavior.java.util.concurrent.CompletableFuture<GetBucketsResponse>
getBuckets(GetBucketsRequest request)
Retrieves anomaly detection job results for one or more buckets.java.util.concurrent.CompletableFuture<GetBucketsResponse>
getBuckets(java.util.function.Function<GetBucketsRequest.Builder,ObjectBuilder<GetBucketsRequest>> fn)
Retrieves anomaly detection job results for one or more buckets.java.util.concurrent.CompletableFuture<GetCalendarEventsResponse>
getCalendarEvents(GetCalendarEventsRequest request)
Retrieves information about the scheduled events in calendars.java.util.concurrent.CompletableFuture<GetCalendarEventsResponse>
getCalendarEvents(java.util.function.Function<GetCalendarEventsRequest.Builder,ObjectBuilder<GetCalendarEventsRequest>> fn)
Retrieves information about the scheduled events in calendars.java.util.concurrent.CompletableFuture<GetCalendarsResponse>
getCalendars()
Retrieves configuration information for calendars.java.util.concurrent.CompletableFuture<GetCalendarsResponse>
getCalendars(GetCalendarsRequest request)
Retrieves configuration information for calendars.java.util.concurrent.CompletableFuture<GetCalendarsResponse>
getCalendars(java.util.function.Function<GetCalendarsRequest.Builder,ObjectBuilder<GetCalendarsRequest>> fn)
Retrieves configuration information for calendars.java.util.concurrent.CompletableFuture<GetCategoriesResponse>
getCategories(GetCategoriesRequest request)
Retrieves anomaly detection job results for one or more categories.java.util.concurrent.CompletableFuture<GetCategoriesResponse>
getCategories(java.util.function.Function<GetCategoriesRequest.Builder,ObjectBuilder<GetCategoriesRequest>> fn)
Retrieves anomaly detection job results for one or more categories.java.util.concurrent.CompletableFuture<GetDatafeedsResponse>
getDatafeeds()
Retrieves configuration information for datafeeds.java.util.concurrent.CompletableFuture<GetDatafeedsResponse>
getDatafeeds(GetDatafeedsRequest request)
Retrieves configuration information for datafeeds.java.util.concurrent.CompletableFuture<GetDatafeedsResponse>
getDatafeeds(java.util.function.Function<GetDatafeedsRequest.Builder,ObjectBuilder<GetDatafeedsRequest>> fn)
Retrieves configuration information for datafeeds.java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse>
getDatafeedStats()
Retrieves usage information for datafeeds.java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse>
getDatafeedStats(GetDatafeedStatsRequest request)
Retrieves usage information for datafeeds.java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse>
getDatafeedStats(java.util.function.Function<GetDatafeedStatsRequest.Builder,ObjectBuilder<GetDatafeedStatsRequest>> fn)
Retrieves usage information for datafeeds.java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse>
getDataFrameAnalytics()
Retrieves configuration information for data frame analytics jobs.java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse>
getDataFrameAnalytics(GetDataFrameAnalyticsRequest request)
Retrieves configuration information for data frame analytics jobs.java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse>
getDataFrameAnalytics(java.util.function.Function<GetDataFrameAnalyticsRequest.Builder,ObjectBuilder<GetDataFrameAnalyticsRequest>> fn)
Retrieves configuration information for data frame analytics jobs.java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse>
getDataFrameAnalyticsStats()
Retrieves usage information for data frame analytics jobs.java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse>
getDataFrameAnalyticsStats(GetDataFrameAnalyticsStatsRequest request)
Retrieves usage information for data frame analytics jobs.java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse>
getDataFrameAnalyticsStats(java.util.function.Function<GetDataFrameAnalyticsStatsRequest.Builder,ObjectBuilder<GetDataFrameAnalyticsStatsRequest>> fn)
Retrieves usage information for data frame analytics jobs.java.util.concurrent.CompletableFuture<GetFiltersResponse>
getFilters()
Retrieves filters.java.util.concurrent.CompletableFuture<GetFiltersResponse>
getFilters(GetFiltersRequest request)
Retrieves filters.java.util.concurrent.CompletableFuture<GetFiltersResponse>
getFilters(java.util.function.Function<GetFiltersRequest.Builder,ObjectBuilder<GetFiltersRequest>> fn)
Retrieves filters.java.util.concurrent.CompletableFuture<GetInfluencersResponse>
getInfluencers(GetInfluencersRequest request)
Retrieves anomaly detection job results for one or more influencers.java.util.concurrent.CompletableFuture<GetInfluencersResponse>
getInfluencers(java.util.function.Function<GetInfluencersRequest.Builder,ObjectBuilder<GetInfluencersRequest>> fn)
Retrieves anomaly detection job results for one or more influencers.java.util.concurrent.CompletableFuture<GetJobsResponse>
getJobs()
Retrieves configuration information for anomaly detection jobs.java.util.concurrent.CompletableFuture<GetJobsResponse>
getJobs(GetJobsRequest request)
Retrieves configuration information for anomaly detection jobs.java.util.concurrent.CompletableFuture<GetJobsResponse>
getJobs(java.util.function.Function<GetJobsRequest.Builder,ObjectBuilder<GetJobsRequest>> fn)
Retrieves configuration information for anomaly detection jobs.java.util.concurrent.CompletableFuture<GetJobStatsResponse>
getJobStats()
Retrieves usage information for anomaly detection jobs.java.util.concurrent.CompletableFuture<GetJobStatsResponse>
getJobStats(GetJobStatsRequest request)
Retrieves usage information for anomaly detection jobs.java.util.concurrent.CompletableFuture<GetJobStatsResponse>
getJobStats(java.util.function.Function<GetJobStatsRequest.Builder,ObjectBuilder<GetJobStatsRequest>> fn)
Retrieves usage information for anomaly detection jobs.java.util.concurrent.CompletableFuture<GetModelSnapshotsResponse>
getModelSnapshots(GetModelSnapshotsRequest request)
Retrieves information about model snapshots.java.util.concurrent.CompletableFuture<GetModelSnapshotsResponse>
getModelSnapshots(java.util.function.Function<GetModelSnapshotsRequest.Builder,ObjectBuilder<GetModelSnapshotsRequest>> fn)
Retrieves information about model snapshots.java.util.concurrent.CompletableFuture<GetOverallBucketsResponse>
getOverallBuckets(GetOverallBucketsRequest request)
Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.java.util.concurrent.CompletableFuture<GetOverallBucketsResponse>
getOverallBuckets(java.util.function.Function<GetOverallBucketsRequest.Builder,ObjectBuilder<GetOverallBucketsRequest>> fn)
Retrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.java.util.concurrent.CompletableFuture<GetRecordsResponse>
getRecords(GetRecordsRequest request)
Retrieves anomaly records for an anomaly detection job.java.util.concurrent.CompletableFuture<GetRecordsResponse>
getRecords(java.util.function.Function<GetRecordsRequest.Builder,ObjectBuilder<GetRecordsRequest>> fn)
Retrieves anomaly records for an anomaly detection job.java.util.concurrent.CompletableFuture<GetTrainedModelsResponse>
getTrainedModels()
Retrieves configuration information for a trained inference model.java.util.concurrent.CompletableFuture<GetTrainedModelsResponse>
getTrainedModels(GetTrainedModelsRequest request)
Retrieves configuration information for a trained inference model.java.util.concurrent.CompletableFuture<GetTrainedModelsResponse>
getTrainedModels(java.util.function.Function<GetTrainedModelsRequest.Builder,ObjectBuilder<GetTrainedModelsRequest>> fn)
Retrieves configuration information for a trained inference model.java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse>
getTrainedModelsStats()
Retrieves usage information for trained inference models.java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse>
getTrainedModelsStats(GetTrainedModelsStatsRequest request)
Retrieves usage information for trained inference models.java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse>
getTrainedModelsStats(java.util.function.Function<GetTrainedModelsStatsRequest.Builder,ObjectBuilder<GetTrainedModelsStatsRequest>> fn)
Retrieves usage information for trained inference models.java.util.concurrent.CompletableFuture<MlInfoResponse>
info()
Returns defaults and limits used by machine learning.java.util.concurrent.CompletableFuture<OpenJobResponse>
openJob(OpenJobRequest request)
Opens one or more anomaly detection jobs.java.util.concurrent.CompletableFuture<OpenJobResponse>
openJob(java.util.function.Function<OpenJobRequest.Builder,ObjectBuilder<OpenJobRequest>> fn)
Opens one or more anomaly detection jobs.java.util.concurrent.CompletableFuture<PostCalendarEventsResponse>
postCalendarEvents(PostCalendarEventsRequest request)
Posts scheduled events in a calendar.java.util.concurrent.CompletableFuture<PostCalendarEventsResponse>
postCalendarEvents(java.util.function.Function<PostCalendarEventsRequest.Builder,ObjectBuilder<PostCalendarEventsRequest>> fn)
Posts scheduled events in a calendar.<TData> java.util.concurrent.CompletableFuture<PostDataResponse>
postData(PostDataRequest<TData> request)
Sends data to an anomaly detection job for analysis.<TData> java.util.concurrent.CompletableFuture<PostDataResponse>
postData(java.util.function.Function<PostDataRequest.Builder<TData>,ObjectBuilder<PostDataRequest<TData>>> fn)
Sends data to an anomaly detection job for analysis.<TDocument>
java.util.concurrent.CompletableFuture<PreviewDatafeedResponse<TDocument>>previewDatafeed(PreviewDatafeedRequest request, java.lang.Class<TDocument> tDocumentClass)
Previews a datafeed.<TDocument>
java.util.concurrent.CompletableFuture<PreviewDatafeedResponse<TDocument>>previewDatafeed(java.util.function.Function<PreviewDatafeedRequest.Builder,ObjectBuilder<PreviewDatafeedRequest>> fn, java.lang.Class<TDocument> tDocumentClass)
Previews a datafeed.java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse>
previewDataFrameAnalytics()
Previews that will be analyzed given a data frame analytics config.java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse>
previewDataFrameAnalytics(PreviewDataFrameAnalyticsRequest request)
Previews that will be analyzed given a data frame analytics config.java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse>
previewDataFrameAnalytics(java.util.function.Function<PreviewDataFrameAnalyticsRequest.Builder,ObjectBuilder<PreviewDataFrameAnalyticsRequest>> fn)
Previews that will be analyzed given a data frame analytics config.java.util.concurrent.CompletableFuture<PutCalendarResponse>
putCalendar(PutCalendarRequest request)
Instantiates a calendar.java.util.concurrent.CompletableFuture<PutCalendarResponse>
putCalendar(java.util.function.Function<PutCalendarRequest.Builder,ObjectBuilder<PutCalendarRequest>> fn)
Instantiates a calendar.java.util.concurrent.CompletableFuture<PutCalendarJobResponse>
putCalendarJob(PutCalendarJobRequest request)
Adds an anomaly detection job to a calendar.java.util.concurrent.CompletableFuture<PutCalendarJobResponse>
putCalendarJob(java.util.function.Function<PutCalendarJobRequest.Builder,ObjectBuilder<PutCalendarJobRequest>> fn)
Adds an anomaly detection job to a calendar.java.util.concurrent.CompletableFuture<PutDatafeedResponse>
putDatafeed(PutDatafeedRequest request)
Instantiates a datafeed.java.util.concurrent.CompletableFuture<PutDatafeedResponse>
putDatafeed(java.util.function.Function<PutDatafeedRequest.Builder,ObjectBuilder<PutDatafeedRequest>> fn)
Instantiates a datafeed.java.util.concurrent.CompletableFuture<PutDataFrameAnalyticsResponse>
putDataFrameAnalytics(PutDataFrameAnalyticsRequest request)
Instantiates a data frame analytics job.java.util.concurrent.CompletableFuture<PutDataFrameAnalyticsResponse>
putDataFrameAnalytics(java.util.function.Function<PutDataFrameAnalyticsRequest.Builder,ObjectBuilder<PutDataFrameAnalyticsRequest>> fn)
Instantiates a data frame analytics job.java.util.concurrent.CompletableFuture<PutFilterResponse>
putFilter(PutFilterRequest request)
Instantiates a filter.java.util.concurrent.CompletableFuture<PutFilterResponse>
putFilter(java.util.function.Function<PutFilterRequest.Builder,ObjectBuilder<PutFilterRequest>> fn)
Instantiates a filter.java.util.concurrent.CompletableFuture<PutJobResponse>
putJob(PutJobRequest request)
Instantiates an anomaly detection job.java.util.concurrent.CompletableFuture<PutJobResponse>
putJob(java.util.function.Function<PutJobRequest.Builder,ObjectBuilder<PutJobRequest>> fn)
Instantiates an anomaly detection job.java.util.concurrent.CompletableFuture<PutTrainedModelResponse>
putTrainedModel(PutTrainedModelRequest request)
Creates an inference trained model.java.util.concurrent.CompletableFuture<PutTrainedModelResponse>
putTrainedModel(java.util.function.Function<PutTrainedModelRequest.Builder,ObjectBuilder<PutTrainedModelRequest>> fn)
Creates an inference trained model.java.util.concurrent.CompletableFuture<PutTrainedModelAliasResponse>
putTrainedModelAlias(PutTrainedModelAliasRequest request)
Creates a new model alias (or reassigns an existing one) to refer to the trained modeljava.util.concurrent.CompletableFuture<PutTrainedModelAliasResponse>
putTrainedModelAlias(java.util.function.Function<PutTrainedModelAliasRequest.Builder,ObjectBuilder<PutTrainedModelAliasRequest>> fn)
Creates a new model alias (or reassigns an existing one) to refer to the trained modeljava.util.concurrent.CompletableFuture<ResetJobResponse>
resetJob(ResetJobRequest request)
Resets an existing anomaly detection job.java.util.concurrent.CompletableFuture<ResetJobResponse>
resetJob(java.util.function.Function<ResetJobRequest.Builder,ObjectBuilder<ResetJobRequest>> fn)
Resets an existing anomaly detection job.java.util.concurrent.CompletableFuture<RevertModelSnapshotResponse>
revertModelSnapshot(RevertModelSnapshotRequest request)
Reverts to a specific snapshot.java.util.concurrent.CompletableFuture<RevertModelSnapshotResponse>
revertModelSnapshot(java.util.function.Function<RevertModelSnapshotRequest.Builder,ObjectBuilder<RevertModelSnapshotRequest>> fn)
Reverts to a specific snapshot.java.util.concurrent.CompletableFuture<SetUpgradeModeResponse>
setUpgradeMode()
Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.java.util.concurrent.CompletableFuture<SetUpgradeModeResponse>
setUpgradeMode(SetUpgradeModeRequest request)
Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.java.util.concurrent.CompletableFuture<SetUpgradeModeResponse>
setUpgradeMode(java.util.function.Function<SetUpgradeModeRequest.Builder,ObjectBuilder<SetUpgradeModeRequest>> fn)
Sets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.java.util.concurrent.CompletableFuture<StartDatafeedResponse>
startDatafeed(StartDatafeedRequest request)
Starts one or more datafeeds.java.util.concurrent.CompletableFuture<StartDatafeedResponse>
startDatafeed(java.util.function.Function<StartDatafeedRequest.Builder,ObjectBuilder<StartDatafeedRequest>> fn)
Starts one or more datafeeds.java.util.concurrent.CompletableFuture<StartDataFrameAnalyticsResponse>
startDataFrameAnalytics(StartDataFrameAnalyticsRequest request)
Starts a data frame analytics job.java.util.concurrent.CompletableFuture<StartDataFrameAnalyticsResponse>
startDataFrameAnalytics(java.util.function.Function<StartDataFrameAnalyticsRequest.Builder,ObjectBuilder<StartDataFrameAnalyticsRequest>> fn)
Starts a data frame analytics job.java.util.concurrent.CompletableFuture<StopDatafeedResponse>
stopDatafeed(StopDatafeedRequest request)
Stops one or more datafeeds.java.util.concurrent.CompletableFuture<StopDatafeedResponse>
stopDatafeed(java.util.function.Function<StopDatafeedRequest.Builder,ObjectBuilder<StopDatafeedRequest>> fn)
Stops one or more datafeeds.java.util.concurrent.CompletableFuture<StopDataFrameAnalyticsResponse>
stopDataFrameAnalytics(StopDataFrameAnalyticsRequest request)
Stops one or more data frame analytics jobs.java.util.concurrent.CompletableFuture<StopDataFrameAnalyticsResponse>
stopDataFrameAnalytics(java.util.function.Function<StopDataFrameAnalyticsRequest.Builder,ObjectBuilder<StopDataFrameAnalyticsRequest>> fn)
Stops one or more data frame analytics jobs.java.util.concurrent.CompletableFuture<UpdateDatafeedResponse>
updateDatafeed(UpdateDatafeedRequest request)
Updates certain properties of a datafeed.java.util.concurrent.CompletableFuture<UpdateDatafeedResponse>
updateDatafeed(java.util.function.Function<UpdateDatafeedRequest.Builder,ObjectBuilder<UpdateDatafeedRequest>> fn)
Updates certain properties of a datafeed.java.util.concurrent.CompletableFuture<UpdateDataFrameAnalyticsResponse>
updateDataFrameAnalytics(UpdateDataFrameAnalyticsRequest request)
Updates certain properties of a data frame analytics job.java.util.concurrent.CompletableFuture<UpdateDataFrameAnalyticsResponse>
updateDataFrameAnalytics(java.util.function.Function<UpdateDataFrameAnalyticsRequest.Builder,ObjectBuilder<UpdateDataFrameAnalyticsRequest>> fn)
Updates certain properties of a data frame analytics job.java.util.concurrent.CompletableFuture<UpdateFilterResponse>
updateFilter(UpdateFilterRequest request)
Updates the description of a filter, adds items, or removes items.java.util.concurrent.CompletableFuture<UpdateFilterResponse>
updateFilter(java.util.function.Function<UpdateFilterRequest.Builder,ObjectBuilder<UpdateFilterRequest>> fn)
Updates the description of a filter, adds items, or removes items.java.util.concurrent.CompletableFuture<UpdateJobResponse>
updateJob(UpdateJobRequest request)
Updates certain properties of an anomaly detection job.java.util.concurrent.CompletableFuture<UpdateJobResponse>
updateJob(java.util.function.Function<UpdateJobRequest.Builder,ObjectBuilder<UpdateJobRequest>> fn)
Updates certain properties of an anomaly detection job.java.util.concurrent.CompletableFuture<UpdateModelSnapshotResponse>
updateModelSnapshot(UpdateModelSnapshotRequest request)
Updates certain properties of a snapshot.java.util.concurrent.CompletableFuture<UpdateModelSnapshotResponse>
updateModelSnapshot(java.util.function.Function<UpdateModelSnapshotRequest.Builder,ObjectBuilder<UpdateModelSnapshotRequest>> fn)
Updates certain properties of a snapshot.java.util.concurrent.CompletableFuture<UpgradeJobSnapshotResponse>
upgradeJobSnapshot(UpgradeJobSnapshotRequest request)
Upgrades a given job snapshot to the current major version.java.util.concurrent.CompletableFuture<UpgradeJobSnapshotResponse>
upgradeJobSnapshot(java.util.function.Function<UpgradeJobSnapshotRequest.Builder,ObjectBuilder<UpgradeJobSnapshotRequest>> fn)
Upgrades a given job snapshot to the current major version.java.util.concurrent.CompletableFuture<ValidateResponse>
validate()
Validates an anomaly detection job.java.util.concurrent.CompletableFuture<ValidateResponse>
validate(ValidateRequest request)
Validates an anomaly detection job.java.util.concurrent.CompletableFuture<ValidateResponse>
validate(java.util.function.Function<ValidateRequest.Builder,ObjectBuilder<ValidateRequest>> fn)
Validates an anomaly detection job.java.util.concurrent.CompletableFuture<ValidateDetectorResponse>
validateDetector()
Validates an anomaly detection detector.java.util.concurrent.CompletableFuture<ValidateDetectorResponse>
validateDetector(ValidateDetectorRequest request)
Validates an anomaly detection detector.java.util.concurrent.CompletableFuture<ValidateDetectorResponse>
validateDetector(java.util.function.Function<ValidateDetectorRequest.Builder,ObjectBuilder<ValidateDetectorRequest>> fn)
Validates an anomaly detection detector.ElasticsearchMlAsyncClient
withTransportOptions(TransportOptions transportOptions)
Creates a new client with some request optionsMethods inherited from class co.elastic.clients.ApiClient
_transport, _transportOptions, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchMlAsyncClient
-
ElasticsearchMlAsyncClient
public ElasticsearchMlAsyncClient(ElasticsearchTransport transport, @Nullable TransportOptions transportOptions)
-
-
Method Details
-
withTransportOptions
public ElasticsearchMlAsyncClient withTransportOptions(@Nullable TransportOptions transportOptions)Description copied from class:ApiClient
Creates a new client with some request options- Specified by:
withTransportOptions
in classApiClient<ElasticsearchTransport,ElasticsearchMlAsyncClient>
-
closeJob
public java.util.concurrent.CompletableFuture<CloseJobResponse> closeJob(CloseJobRequest request) throws java.io.IOException, ElasticsearchExceptionCloses one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
closeJob
public final java.util.concurrent.CompletableFuture<CloseJobResponse> closeJob(java.util.function.Function<CloseJobRequest.Builder,ObjectBuilder<CloseJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionCloses one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.- Parameters:
fn
- a function that initializes a builder to create theCloseJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteCalendar
public java.util.concurrent.CompletableFuture<DeleteCalendarResponse> deleteCalendar(DeleteCalendarRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes a calendar.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteCalendar
public final java.util.concurrent.CompletableFuture<DeleteCalendarResponse> deleteCalendar(java.util.function.Function<DeleteCalendarRequest.Builder,ObjectBuilder<DeleteCalendarRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes a calendar.- Parameters:
fn
- a function that initializes a builder to create theDeleteCalendarRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteCalendarEvent
public java.util.concurrent.CompletableFuture<DeleteCalendarEventResponse> deleteCalendarEvent(DeleteCalendarEventRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes scheduled events from a calendar.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteCalendarEvent
public final java.util.concurrent.CompletableFuture<DeleteCalendarEventResponse> deleteCalendarEvent(java.util.function.Function<DeleteCalendarEventRequest.Builder,ObjectBuilder<DeleteCalendarEventRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes scheduled events from a calendar.- Parameters:
fn
- a function that initializes a builder to create theDeleteCalendarEventRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteCalendarJob
public java.util.concurrent.CompletableFuture<DeleteCalendarJobResponse> deleteCalendarJob(DeleteCalendarJobRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes anomaly detection jobs from a calendar.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteCalendarJob
public final java.util.concurrent.CompletableFuture<DeleteCalendarJobResponse> deleteCalendarJob(java.util.function.Function<DeleteCalendarJobRequest.Builder,ObjectBuilder<DeleteCalendarJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes anomaly detection jobs from a calendar.- Parameters:
fn
- a function that initializes a builder to create theDeleteCalendarJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteDataFrameAnalytics
public java.util.concurrent.CompletableFuture<DeleteDataFrameAnalyticsResponse> deleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes an existing data frame analytics job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<DeleteDataFrameAnalyticsResponse> deleteDataFrameAnalytics(java.util.function.Function<DeleteDataFrameAnalyticsRequest.Builder,ObjectBuilder<DeleteDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes an existing data frame analytics job.- Parameters:
fn
- a function that initializes a builder to create theDeleteDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteDatafeed
public java.util.concurrent.CompletableFuture<DeleteDatafeedResponse> deleteDatafeed(DeleteDatafeedRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes an existing datafeed.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteDatafeed
public final java.util.concurrent.CompletableFuture<DeleteDatafeedResponse> deleteDatafeed(java.util.function.Function<DeleteDatafeedRequest.Builder,ObjectBuilder<DeleteDatafeedRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes an existing datafeed.- Parameters:
fn
- a function that initializes a builder to create theDeleteDatafeedRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteExpiredData
public java.util.concurrent.CompletableFuture<DeleteExpiredDataResponse> deleteExpiredData(DeleteExpiredDataRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes expired and unused machine learning data.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteExpiredData
public final java.util.concurrent.CompletableFuture<DeleteExpiredDataResponse> deleteExpiredData(java.util.function.Function<DeleteExpiredDataRequest.Builder,ObjectBuilder<DeleteExpiredDataRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes expired and unused machine learning data.- Parameters:
fn
- a function that initializes a builder to create theDeleteExpiredDataRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteExpiredData
public java.util.concurrent.CompletableFuture<DeleteExpiredDataResponse> deleteExpiredData() throws java.io.IOException, ElasticsearchExceptionDeletes expired and unused machine learning data.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteFilter
public java.util.concurrent.CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes a filter.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteFilter
public final java.util.concurrent.CompletableFuture<DeleteFilterResponse> deleteFilter(java.util.function.Function<DeleteFilterRequest.Builder,ObjectBuilder<DeleteFilterRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes a filter.- Parameters:
fn
- a function that initializes a builder to create theDeleteFilterRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteForecast
public java.util.concurrent.CompletableFuture<DeleteForecastResponse> deleteForecast(DeleteForecastRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes forecasts from a machine learning job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteForecast
public final java.util.concurrent.CompletableFuture<DeleteForecastResponse> deleteForecast(java.util.function.Function<DeleteForecastRequest.Builder,ObjectBuilder<DeleteForecastRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes forecasts from a machine learning job.- Parameters:
fn
- a function that initializes a builder to create theDeleteForecastRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteJob
public java.util.concurrent.CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes an existing anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteJob
public final java.util.concurrent.CompletableFuture<DeleteJobResponse> deleteJob(java.util.function.Function<DeleteJobRequest.Builder,ObjectBuilder<DeleteJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes an existing anomaly detection job.- Parameters:
fn
- a function that initializes a builder to create theDeleteJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteModelSnapshot
public java.util.concurrent.CompletableFuture<DeleteModelSnapshotResponse> deleteModelSnapshot(DeleteModelSnapshotRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes an existing model snapshot.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteModelSnapshot
public final java.util.concurrent.CompletableFuture<DeleteModelSnapshotResponse> deleteModelSnapshot(java.util.function.Function<DeleteModelSnapshotRequest.Builder,ObjectBuilder<DeleteModelSnapshotRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes an existing model snapshot.- Parameters:
fn
- a function that initializes a builder to create theDeleteModelSnapshotRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteTrainedModel
public java.util.concurrent.CompletableFuture<DeleteTrainedModelResponse> deleteTrainedModel(DeleteTrainedModelRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes an existing trained inference model that is currently not referenced by an ingest pipeline.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteTrainedModel
public final java.util.concurrent.CompletableFuture<DeleteTrainedModelResponse> deleteTrainedModel(java.util.function.Function<DeleteTrainedModelRequest.Builder,ObjectBuilder<DeleteTrainedModelRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes an existing trained inference model that is currently not referenced by an ingest pipeline.- Parameters:
fn
- a function that initializes a builder to create theDeleteTrainedModelRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteTrainedModelAlias
public java.util.concurrent.CompletableFuture<DeleteTrainedModelAliasResponse> deleteTrainedModelAlias(DeleteTrainedModelAliasRequest request) throws java.io.IOException, ElasticsearchExceptionDeletes a model alias that refers to the trained model- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
deleteTrainedModelAlias
public final java.util.concurrent.CompletableFuture<DeleteTrainedModelAliasResponse> deleteTrainedModelAlias(java.util.function.Function<DeleteTrainedModelAliasRequest.Builder,ObjectBuilder<DeleteTrainedModelAliasRequest>> fn) throws java.io.IOException, ElasticsearchExceptionDeletes a model alias that refers to the trained model- Parameters:
fn
- a function that initializes a builder to create theDeleteTrainedModelAliasRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
estimateModelMemory
public java.util.concurrent.CompletableFuture<EstimateModelMemoryResponse> estimateModelMemory(EstimateModelMemoryRequest request) throws java.io.IOException, ElasticsearchExceptionEstimates the model memory- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
estimateModelMemory
public final java.util.concurrent.CompletableFuture<EstimateModelMemoryResponse> estimateModelMemory(java.util.function.Function<EstimateModelMemoryRequest.Builder,ObjectBuilder<EstimateModelMemoryRequest>> fn) throws java.io.IOException, ElasticsearchExceptionEstimates the model memory- Parameters:
fn
- a function that initializes a builder to create theEstimateModelMemoryRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
estimateModelMemory
public java.util.concurrent.CompletableFuture<EstimateModelMemoryResponse> estimateModelMemory() throws java.io.IOException, ElasticsearchExceptionEstimates the model memory- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
evaluateDataFrame
public java.util.concurrent.CompletableFuture<EvaluateDataFrameResponse> evaluateDataFrame(EvaluateDataFrameRequest request) throws java.io.IOException, ElasticsearchExceptionEvaluates the data frame analytics for an annotated index.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
evaluateDataFrame
public final java.util.concurrent.CompletableFuture<EvaluateDataFrameResponse> evaluateDataFrame(java.util.function.Function<EvaluateDataFrameRequest.Builder,ObjectBuilder<EvaluateDataFrameRequest>> fn) throws java.io.IOException, ElasticsearchExceptionEvaluates the data frame analytics for an annotated index.- Parameters:
fn
- a function that initializes a builder to create theEvaluateDataFrameRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
explainDataFrameAnalytics
public java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse> explainDataFrameAnalytics(ExplainDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionExplains a data frame analytics config.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
explainDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse> explainDataFrameAnalytics(java.util.function.Function<ExplainDataFrameAnalyticsRequest.Builder,ObjectBuilder<ExplainDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionExplains a data frame analytics config.- Parameters:
fn
- a function that initializes a builder to create theExplainDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
explainDataFrameAnalytics
public java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse> explainDataFrameAnalytics() throws java.io.IOException, ElasticsearchExceptionExplains a data frame analytics config.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
flushJob
public java.util.concurrent.CompletableFuture<FlushJobResponse> flushJob(FlushJobRequest request) throws java.io.IOException, ElasticsearchExceptionForces any buffered data to be processed by the job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
flushJob
public final java.util.concurrent.CompletableFuture<FlushJobResponse> flushJob(java.util.function.Function<FlushJobRequest.Builder,ObjectBuilder<FlushJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionForces any buffered data to be processed by the job.- Parameters:
fn
- a function that initializes a builder to create theFlushJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
forecast
public java.util.concurrent.CompletableFuture<ForecastResponse> forecast(ForecastRequest request) throws java.io.IOException, ElasticsearchExceptionPredicts the future behavior of a time series by using its historical behavior.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
forecast
public final java.util.concurrent.CompletableFuture<ForecastResponse> forecast(java.util.function.Function<ForecastRequest.Builder,ObjectBuilder<ForecastRequest>> fn) throws java.io.IOException, ElasticsearchExceptionPredicts the future behavior of a time series by using its historical behavior.- Parameters:
fn
- a function that initializes a builder to create theForecastRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getBuckets
public java.util.concurrent.CompletableFuture<GetBucketsResponse> getBuckets(GetBucketsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly detection job results for one or more buckets.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getBuckets
public final java.util.concurrent.CompletableFuture<GetBucketsResponse> getBuckets(java.util.function.Function<GetBucketsRequest.Builder,ObjectBuilder<GetBucketsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly detection job results for one or more buckets.- Parameters:
fn
- a function that initializes a builder to create theGetBucketsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCalendarEvents
public java.util.concurrent.CompletableFuture<GetCalendarEventsResponse> getCalendarEvents(GetCalendarEventsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves information about the scheduled events in calendars.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCalendarEvents
public final java.util.concurrent.CompletableFuture<GetCalendarEventsResponse> getCalendarEvents(java.util.function.Function<GetCalendarEventsRequest.Builder,ObjectBuilder<GetCalendarEventsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves information about the scheduled events in calendars.- Parameters:
fn
- a function that initializes a builder to create theGetCalendarEventsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCalendars
public java.util.concurrent.CompletableFuture<GetCalendarsResponse> getCalendars(GetCalendarsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for calendars.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCalendars
public final java.util.concurrent.CompletableFuture<GetCalendarsResponse> getCalendars(java.util.function.Function<GetCalendarsRequest.Builder,ObjectBuilder<GetCalendarsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for calendars.- Parameters:
fn
- a function that initializes a builder to create theGetCalendarsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCalendars
public java.util.concurrent.CompletableFuture<GetCalendarsResponse> getCalendars() throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for calendars.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCategories
public java.util.concurrent.CompletableFuture<GetCategoriesResponse> getCategories(GetCategoriesRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly detection job results for one or more categories.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getCategories
public final java.util.concurrent.CompletableFuture<GetCategoriesResponse> getCategories(java.util.function.Function<GetCategoriesRequest.Builder,ObjectBuilder<GetCategoriesRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly detection job results for one or more categories.- Parameters:
fn
- a function that initializes a builder to create theGetCategoriesRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalytics
public java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse> getDataFrameAnalytics(GetDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for data frame analytics jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse> getDataFrameAnalytics(java.util.function.Function<GetDataFrameAnalyticsRequest.Builder,ObjectBuilder<GetDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for data frame analytics jobs.- Parameters:
fn
- a function that initializes a builder to create theGetDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalytics
public java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse> getDataFrameAnalytics() throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for data frame analytics jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalyticsStats
public java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse> getDataFrameAnalyticsStats(GetDataFrameAnalyticsStatsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for data frame analytics jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalyticsStats
public final java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse> getDataFrameAnalyticsStats(java.util.function.Function<GetDataFrameAnalyticsStatsRequest.Builder,ObjectBuilder<GetDataFrameAnalyticsStatsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for data frame analytics jobs.- Parameters:
fn
- a function that initializes a builder to create theGetDataFrameAnalyticsStatsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalyticsStats
public java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse> getDataFrameAnalyticsStats() throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for data frame analytics jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDatafeedStats
public java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse> getDatafeedStats(GetDatafeedStatsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for datafeeds.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDatafeedStats
public final java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse> getDatafeedStats(java.util.function.Function<GetDatafeedStatsRequest.Builder,ObjectBuilder<GetDatafeedStatsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for datafeeds.- Parameters:
fn
- a function that initializes a builder to create theGetDatafeedStatsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDatafeedStats
public java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse> getDatafeedStats() throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for datafeeds.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDatafeeds
public java.util.concurrent.CompletableFuture<GetDatafeedsResponse> getDatafeeds(GetDatafeedsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for datafeeds.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDatafeeds
public final java.util.concurrent.CompletableFuture<GetDatafeedsResponse> getDatafeeds(java.util.function.Function<GetDatafeedsRequest.Builder,ObjectBuilder<GetDatafeedsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for datafeeds.- Parameters:
fn
- a function that initializes a builder to create theGetDatafeedsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getDatafeeds
public java.util.concurrent.CompletableFuture<GetDatafeedsResponse> getDatafeeds() throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for datafeeds.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getFilters
public java.util.concurrent.CompletableFuture<GetFiltersResponse> getFilters(GetFiltersRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves filters.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getFilters
public final java.util.concurrent.CompletableFuture<GetFiltersResponse> getFilters(java.util.function.Function<GetFiltersRequest.Builder,ObjectBuilder<GetFiltersRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves filters.- Parameters:
fn
- a function that initializes a builder to create theGetFiltersRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getFilters
public java.util.concurrent.CompletableFuture<GetFiltersResponse> getFilters() throws java.io.IOException, ElasticsearchExceptionRetrieves filters.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getInfluencers
public java.util.concurrent.CompletableFuture<GetInfluencersResponse> getInfluencers(GetInfluencersRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly detection job results for one or more influencers.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getInfluencers
public final java.util.concurrent.CompletableFuture<GetInfluencersResponse> getInfluencers(java.util.function.Function<GetInfluencersRequest.Builder,ObjectBuilder<GetInfluencersRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly detection job results for one or more influencers.- Parameters:
fn
- a function that initializes a builder to create theGetInfluencersRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getJobStats
public java.util.concurrent.CompletableFuture<GetJobStatsResponse> getJobStats(GetJobStatsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for anomaly detection jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getJobStats
public final java.util.concurrent.CompletableFuture<GetJobStatsResponse> getJobStats(java.util.function.Function<GetJobStatsRequest.Builder,ObjectBuilder<GetJobStatsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for anomaly detection jobs.- Parameters:
fn
- a function that initializes a builder to create theGetJobStatsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getJobStats
public java.util.concurrent.CompletableFuture<GetJobStatsResponse> getJobStats() throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for anomaly detection jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getJobs
public java.util.concurrent.CompletableFuture<GetJobsResponse> getJobs(GetJobsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for anomaly detection jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getJobs
public final java.util.concurrent.CompletableFuture<GetJobsResponse> getJobs(java.util.function.Function<GetJobsRequest.Builder,ObjectBuilder<GetJobsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for anomaly detection jobs.- Parameters:
fn
- a function that initializes a builder to create theGetJobsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getJobs
public java.util.concurrent.CompletableFuture<GetJobsResponse> getJobs() throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for anomaly detection jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getModelSnapshots
public java.util.concurrent.CompletableFuture<GetModelSnapshotsResponse> getModelSnapshots(GetModelSnapshotsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves information about model snapshots.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getModelSnapshots
public final java.util.concurrent.CompletableFuture<GetModelSnapshotsResponse> getModelSnapshots(java.util.function.Function<GetModelSnapshotsRequest.Builder,ObjectBuilder<GetModelSnapshotsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves information about model snapshots.- Parameters:
fn
- a function that initializes a builder to create theGetModelSnapshotsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getOverallBuckets
public java.util.concurrent.CompletableFuture<GetOverallBucketsResponse> getOverallBuckets(GetOverallBucketsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getOverallBuckets
public final java.util.concurrent.CompletableFuture<GetOverallBucketsResponse> getOverallBuckets(java.util.function.Function<GetOverallBucketsRequest.Builder,ObjectBuilder<GetOverallBucketsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.- Parameters:
fn
- a function that initializes a builder to create theGetOverallBucketsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getRecords
public java.util.concurrent.CompletableFuture<GetRecordsResponse> getRecords(GetRecordsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly records for an anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getRecords
public final java.util.concurrent.CompletableFuture<GetRecordsResponse> getRecords(java.util.function.Function<GetRecordsRequest.Builder,ObjectBuilder<GetRecordsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves anomaly records for an anomaly detection job.- Parameters:
fn
- a function that initializes a builder to create theGetRecordsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getTrainedModels
public java.util.concurrent.CompletableFuture<GetTrainedModelsResponse> getTrainedModels(GetTrainedModelsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for a trained inference model.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getTrainedModels
public final java.util.concurrent.CompletableFuture<GetTrainedModelsResponse> getTrainedModels(java.util.function.Function<GetTrainedModelsRequest.Builder,ObjectBuilder<GetTrainedModelsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for a trained inference model.- Parameters:
fn
- a function that initializes a builder to create theGetTrainedModelsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getTrainedModels
public java.util.concurrent.CompletableFuture<GetTrainedModelsResponse> getTrainedModels() throws java.io.IOException, ElasticsearchExceptionRetrieves configuration information for a trained inference model.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getTrainedModelsStats
public java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse> getTrainedModelsStats(GetTrainedModelsStatsRequest request) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for trained inference models.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getTrainedModelsStats
public final java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse> getTrainedModelsStats(java.util.function.Function<GetTrainedModelsStatsRequest.Builder,ObjectBuilder<GetTrainedModelsStatsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for trained inference models.- Parameters:
fn
- a function that initializes a builder to create theGetTrainedModelsStatsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
getTrainedModelsStats
public java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse> getTrainedModelsStats() throws java.io.IOException, ElasticsearchExceptionRetrieves usage information for trained inference models.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
info
public java.util.concurrent.CompletableFuture<MlInfoResponse> info() throws java.io.IOException, ElasticsearchExceptionReturns defaults and limits used by machine learning.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
openJob
public java.util.concurrent.CompletableFuture<OpenJobResponse> openJob(OpenJobRequest request) throws java.io.IOException, ElasticsearchExceptionOpens one or more anomaly detection jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
openJob
public final java.util.concurrent.CompletableFuture<OpenJobResponse> openJob(java.util.function.Function<OpenJobRequest.Builder,ObjectBuilder<OpenJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionOpens one or more anomaly detection jobs.- Parameters:
fn
- a function that initializes a builder to create theOpenJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
postCalendarEvents
public java.util.concurrent.CompletableFuture<PostCalendarEventsResponse> postCalendarEvents(PostCalendarEventsRequest request) throws java.io.IOException, ElasticsearchExceptionPosts scheduled events in a calendar.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
postCalendarEvents
public final java.util.concurrent.CompletableFuture<PostCalendarEventsResponse> postCalendarEvents(java.util.function.Function<PostCalendarEventsRequest.Builder,ObjectBuilder<PostCalendarEventsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionPosts scheduled events in a calendar.- Parameters:
fn
- a function that initializes a builder to create thePostCalendarEventsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
postData
public <TData> java.util.concurrent.CompletableFuture<PostDataResponse> postData(PostDataRequest<TData> request) throws java.io.IOException, ElasticsearchExceptionSends data to an anomaly detection job for analysis.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
postData
public final <TData> java.util.concurrent.CompletableFuture<PostDataResponse> postData(java.util.function.Function<PostDataRequest.Builder<TData>,ObjectBuilder<PostDataRequest<TData>>> fn) throws java.io.IOException, ElasticsearchExceptionSends data to an anomaly detection job for analysis.- Parameters:
fn
- a function that initializes a builder to create thePostDataRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
previewDataFrameAnalytics
public java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse> previewDataFrameAnalytics(PreviewDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionPreviews that will be analyzed given a data frame analytics config.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
previewDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse> previewDataFrameAnalytics(java.util.function.Function<PreviewDataFrameAnalyticsRequest.Builder,ObjectBuilder<PreviewDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionPreviews that will be analyzed given a data frame analytics config.- Parameters:
fn
- a function that initializes a builder to create thePreviewDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
previewDataFrameAnalytics
public java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse> previewDataFrameAnalytics() throws java.io.IOException, ElasticsearchExceptionPreviews that will be analyzed given a data frame analytics config.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
previewDatafeed
public <TDocument> java.util.concurrent.CompletableFuture<PreviewDatafeedResponse<TDocument>> previewDatafeed(PreviewDatafeedRequest request, java.lang.Class<TDocument> tDocumentClass) throws java.io.IOException, ElasticsearchExceptionPreviews a datafeed.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
previewDatafeed
public final <TDocument> java.util.concurrent.CompletableFuture<PreviewDatafeedResponse<TDocument>> previewDatafeed(java.util.function.Function<PreviewDatafeedRequest.Builder,ObjectBuilder<PreviewDatafeedRequest>> fn, java.lang.Class<TDocument> tDocumentClass) throws java.io.IOException, ElasticsearchExceptionPreviews a datafeed.- Parameters:
fn
- a function that initializes a builder to create thePreviewDatafeedRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putCalendar
public java.util.concurrent.CompletableFuture<PutCalendarResponse> putCalendar(PutCalendarRequest request) throws java.io.IOException, ElasticsearchExceptionInstantiates a calendar.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putCalendar
public final java.util.concurrent.CompletableFuture<PutCalendarResponse> putCalendar(java.util.function.Function<PutCalendarRequest.Builder,ObjectBuilder<PutCalendarRequest>> fn) throws java.io.IOException, ElasticsearchExceptionInstantiates a calendar.- Parameters:
fn
- a function that initializes a builder to create thePutCalendarRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putCalendarJob
public java.util.concurrent.CompletableFuture<PutCalendarJobResponse> putCalendarJob(PutCalendarJobRequest request) throws java.io.IOException, ElasticsearchExceptionAdds an anomaly detection job to a calendar.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putCalendarJob
public final java.util.concurrent.CompletableFuture<PutCalendarJobResponse> putCalendarJob(java.util.function.Function<PutCalendarJobRequest.Builder,ObjectBuilder<PutCalendarJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionAdds an anomaly detection job to a calendar.- Parameters:
fn
- a function that initializes a builder to create thePutCalendarJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putDataFrameAnalytics
public java.util.concurrent.CompletableFuture<PutDataFrameAnalyticsResponse> putDataFrameAnalytics(PutDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionInstantiates a data frame analytics job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<PutDataFrameAnalyticsResponse> putDataFrameAnalytics(java.util.function.Function<PutDataFrameAnalyticsRequest.Builder,ObjectBuilder<PutDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionInstantiates a data frame analytics job.- Parameters:
fn
- a function that initializes a builder to create thePutDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putDatafeed
public java.util.concurrent.CompletableFuture<PutDatafeedResponse> putDatafeed(PutDatafeedRequest request) throws java.io.IOException, ElasticsearchExceptionInstantiates a datafeed.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putDatafeed
public final java.util.concurrent.CompletableFuture<PutDatafeedResponse> putDatafeed(java.util.function.Function<PutDatafeedRequest.Builder,ObjectBuilder<PutDatafeedRequest>> fn) throws java.io.IOException, ElasticsearchExceptionInstantiates a datafeed.- Parameters:
fn
- a function that initializes a builder to create thePutDatafeedRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putFilter
public java.util.concurrent.CompletableFuture<PutFilterResponse> putFilter(PutFilterRequest request) throws java.io.IOException, ElasticsearchExceptionInstantiates a filter.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putFilter
public final java.util.concurrent.CompletableFuture<PutFilterResponse> putFilter(java.util.function.Function<PutFilterRequest.Builder,ObjectBuilder<PutFilterRequest>> fn) throws java.io.IOException, ElasticsearchExceptionInstantiates a filter.- Parameters:
fn
- a function that initializes a builder to create thePutFilterRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putJob
public java.util.concurrent.CompletableFuture<PutJobResponse> putJob(PutJobRequest request) throws java.io.IOException, ElasticsearchExceptionInstantiates an anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putJob
public final java.util.concurrent.CompletableFuture<PutJobResponse> putJob(java.util.function.Function<PutJobRequest.Builder,ObjectBuilder<PutJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionInstantiates an anomaly detection job.- Parameters:
fn
- a function that initializes a builder to create thePutJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putTrainedModel
public java.util.concurrent.CompletableFuture<PutTrainedModelResponse> putTrainedModel(PutTrainedModelRequest request) throws java.io.IOException, ElasticsearchExceptionCreates an inference trained model.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putTrainedModel
public final java.util.concurrent.CompletableFuture<PutTrainedModelResponse> putTrainedModel(java.util.function.Function<PutTrainedModelRequest.Builder,ObjectBuilder<PutTrainedModelRequest>> fn) throws java.io.IOException, ElasticsearchExceptionCreates an inference trained model.- Parameters:
fn
- a function that initializes a builder to create thePutTrainedModelRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putTrainedModelAlias
public java.util.concurrent.CompletableFuture<PutTrainedModelAliasResponse> putTrainedModelAlias(PutTrainedModelAliasRequest request) throws java.io.IOException, ElasticsearchExceptionCreates a new model alias (or reassigns an existing one) to refer to the trained model- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
putTrainedModelAlias
public final java.util.concurrent.CompletableFuture<PutTrainedModelAliasResponse> putTrainedModelAlias(java.util.function.Function<PutTrainedModelAliasRequest.Builder,ObjectBuilder<PutTrainedModelAliasRequest>> fn) throws java.io.IOException, ElasticsearchExceptionCreates a new model alias (or reassigns an existing one) to refer to the trained model- Parameters:
fn
- a function that initializes a builder to create thePutTrainedModelAliasRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
resetJob
public java.util.concurrent.CompletableFuture<ResetJobResponse> resetJob(ResetJobRequest request) throws java.io.IOException, ElasticsearchExceptionResets an existing anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
resetJob
public final java.util.concurrent.CompletableFuture<ResetJobResponse> resetJob(java.util.function.Function<ResetJobRequest.Builder,ObjectBuilder<ResetJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionResets an existing anomaly detection job.- Parameters:
fn
- a function that initializes a builder to create theResetJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
revertModelSnapshot
public java.util.concurrent.CompletableFuture<RevertModelSnapshotResponse> revertModelSnapshot(RevertModelSnapshotRequest request) throws java.io.IOException, ElasticsearchExceptionReverts to a specific snapshot.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
revertModelSnapshot
public final java.util.concurrent.CompletableFuture<RevertModelSnapshotResponse> revertModelSnapshot(java.util.function.Function<RevertModelSnapshotRequest.Builder,ObjectBuilder<RevertModelSnapshotRequest>> fn) throws java.io.IOException, ElasticsearchExceptionReverts to a specific snapshot.- Parameters:
fn
- a function that initializes a builder to create theRevertModelSnapshotRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
setUpgradeMode
public java.util.concurrent.CompletableFuture<SetUpgradeModeResponse> setUpgradeMode(SetUpgradeModeRequest request) throws java.io.IOException, ElasticsearchExceptionSets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
setUpgradeMode
public final java.util.concurrent.CompletableFuture<SetUpgradeModeResponse> setUpgradeMode(java.util.function.Function<SetUpgradeModeRequest.Builder,ObjectBuilder<SetUpgradeModeRequest>> fn) throws java.io.IOException, ElasticsearchExceptionSets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.- Parameters:
fn
- a function that initializes a builder to create theSetUpgradeModeRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
setUpgradeMode
public java.util.concurrent.CompletableFuture<SetUpgradeModeResponse> setUpgradeMode() throws java.io.IOException, ElasticsearchExceptionSets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
startDataFrameAnalytics
public java.util.concurrent.CompletableFuture<StartDataFrameAnalyticsResponse> startDataFrameAnalytics(StartDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionStarts a data frame analytics job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
startDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<StartDataFrameAnalyticsResponse> startDataFrameAnalytics(java.util.function.Function<StartDataFrameAnalyticsRequest.Builder,ObjectBuilder<StartDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionStarts a data frame analytics job.- Parameters:
fn
- a function that initializes a builder to create theStartDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
startDatafeed
public java.util.concurrent.CompletableFuture<StartDatafeedResponse> startDatafeed(StartDatafeedRequest request) throws java.io.IOException, ElasticsearchExceptionStarts one or more datafeeds.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
startDatafeed
public final java.util.concurrent.CompletableFuture<StartDatafeedResponse> startDatafeed(java.util.function.Function<StartDatafeedRequest.Builder,ObjectBuilder<StartDatafeedRequest>> fn) throws java.io.IOException, ElasticsearchExceptionStarts one or more datafeeds.- Parameters:
fn
- a function that initializes a builder to create theStartDatafeedRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
stopDataFrameAnalytics
public java.util.concurrent.CompletableFuture<StopDataFrameAnalyticsResponse> stopDataFrameAnalytics(StopDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionStops one or more data frame analytics jobs.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
stopDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<StopDataFrameAnalyticsResponse> stopDataFrameAnalytics(java.util.function.Function<StopDataFrameAnalyticsRequest.Builder,ObjectBuilder<StopDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionStops one or more data frame analytics jobs.- Parameters:
fn
- a function that initializes a builder to create theStopDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
stopDatafeed
public java.util.concurrent.CompletableFuture<StopDatafeedResponse> stopDatafeed(StopDatafeedRequest request) throws java.io.IOException, ElasticsearchExceptionStops one or more datafeeds.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
stopDatafeed
public final java.util.concurrent.CompletableFuture<StopDatafeedResponse> stopDatafeed(java.util.function.Function<StopDatafeedRequest.Builder,ObjectBuilder<StopDatafeedRequest>> fn) throws java.io.IOException, ElasticsearchExceptionStops one or more datafeeds.- Parameters:
fn
- a function that initializes a builder to create theStopDatafeedRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateDataFrameAnalytics
public java.util.concurrent.CompletableFuture<UpdateDataFrameAnalyticsResponse> updateDataFrameAnalytics(UpdateDataFrameAnalyticsRequest request) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of a data frame analytics job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateDataFrameAnalytics
public final java.util.concurrent.CompletableFuture<UpdateDataFrameAnalyticsResponse> updateDataFrameAnalytics(java.util.function.Function<UpdateDataFrameAnalyticsRequest.Builder,ObjectBuilder<UpdateDataFrameAnalyticsRequest>> fn) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of a data frame analytics job.- Parameters:
fn
- a function that initializes a builder to create theUpdateDataFrameAnalyticsRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateDatafeed
public java.util.concurrent.CompletableFuture<UpdateDatafeedResponse> updateDatafeed(UpdateDatafeedRequest request) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of a datafeed.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateDatafeed
public final java.util.concurrent.CompletableFuture<UpdateDatafeedResponse> updateDatafeed(java.util.function.Function<UpdateDatafeedRequest.Builder,ObjectBuilder<UpdateDatafeedRequest>> fn) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of a datafeed.- Parameters:
fn
- a function that initializes a builder to create theUpdateDatafeedRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateFilter
public java.util.concurrent.CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest request) throws java.io.IOException, ElasticsearchExceptionUpdates the description of a filter, adds items, or removes items.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateFilter
public final java.util.concurrent.CompletableFuture<UpdateFilterResponse> updateFilter(java.util.function.Function<UpdateFilterRequest.Builder,ObjectBuilder<UpdateFilterRequest>> fn) throws java.io.IOException, ElasticsearchExceptionUpdates the description of a filter, adds items, or removes items.- Parameters:
fn
- a function that initializes a builder to create theUpdateFilterRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateJob
public java.util.concurrent.CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest request) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of an anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateJob
public final java.util.concurrent.CompletableFuture<UpdateJobResponse> updateJob(java.util.function.Function<UpdateJobRequest.Builder,ObjectBuilder<UpdateJobRequest>> fn) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of an anomaly detection job.- Parameters:
fn
- a function that initializes a builder to create theUpdateJobRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateModelSnapshot
public java.util.concurrent.CompletableFuture<UpdateModelSnapshotResponse> updateModelSnapshot(UpdateModelSnapshotRequest request) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of a snapshot.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
updateModelSnapshot
public final java.util.concurrent.CompletableFuture<UpdateModelSnapshotResponse> updateModelSnapshot(java.util.function.Function<UpdateModelSnapshotRequest.Builder,ObjectBuilder<UpdateModelSnapshotRequest>> fn) throws java.io.IOException, ElasticsearchExceptionUpdates certain properties of a snapshot.- Parameters:
fn
- a function that initializes a builder to create theUpdateModelSnapshotRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
upgradeJobSnapshot
public java.util.concurrent.CompletableFuture<UpgradeJobSnapshotResponse> upgradeJobSnapshot(UpgradeJobSnapshotRequest request) throws java.io.IOException, ElasticsearchExceptionUpgrades a given job snapshot to the current major version.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
upgradeJobSnapshot
public final java.util.concurrent.CompletableFuture<UpgradeJobSnapshotResponse> upgradeJobSnapshot(java.util.function.Function<UpgradeJobSnapshotRequest.Builder,ObjectBuilder<UpgradeJobSnapshotRequest>> fn) throws java.io.IOException, ElasticsearchExceptionUpgrades a given job snapshot to the current major version.- Parameters:
fn
- a function that initializes a builder to create theUpgradeJobSnapshotRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
validate
public java.util.concurrent.CompletableFuture<ValidateResponse> validate(ValidateRequest request) throws java.io.IOException, ElasticsearchExceptionValidates an anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
validate
public final java.util.concurrent.CompletableFuture<ValidateResponse> validate(java.util.function.Function<ValidateRequest.Builder,ObjectBuilder<ValidateRequest>> fn) throws java.io.IOException, ElasticsearchExceptionValidates an anomaly detection job.- Parameters:
fn
- a function that initializes a builder to create theValidateRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
validate
public java.util.concurrent.CompletableFuture<ValidateResponse> validate() throws java.io.IOException, ElasticsearchExceptionValidates an anomaly detection job.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
validateDetector
public java.util.concurrent.CompletableFuture<ValidateDetectorResponse> validateDetector(ValidateDetectorRequest request) throws java.io.IOException, ElasticsearchExceptionValidates an anomaly detection detector.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
validateDetector
public final java.util.concurrent.CompletableFuture<ValidateDetectorResponse> validateDetector(java.util.function.Function<ValidateDetectorRequest.Builder,ObjectBuilder<ValidateDetectorRequest>> fn) throws java.io.IOException, ElasticsearchExceptionValidates an anomaly detection detector.- Parameters:
fn
- a function that initializes a builder to create theValidateDetectorRequest
- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-
validateDetector
public java.util.concurrent.CompletableFuture<ValidateDetectorResponse> validateDetector() throws java.io.IOException, ElasticsearchExceptionValidates an anomaly detection detector.- Throws:
java.io.IOException
ElasticsearchException
- See Also:
- Documentation on elastic.co
-