Class ElasticsearchMlAsyncClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.ml.ElasticsearchMlAsyncClient
public class ElasticsearchMlAsyncClient extends ApiClient
Client for the ml namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchMlAsyncClient(Transport transport)
-
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<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(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(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<FindFileStructureResponse>
findFileStructure(FindFileStructureRequest request)
Finds the structure of a text file.java.util.concurrent.CompletableFuture<FindFileStructureResponse>
findFileStructure(java.util.function.Function<FindFileStructureRequest.Builder,ObjectBuilder<FindFileStructureRequest>> fn)
Finds the structure of a text file.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(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(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(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(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(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(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(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(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(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(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<InfoResponse>
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(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(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<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(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(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.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchMlAsyncClient
-
-
Method Details
-
closeJob
public java.util.concurrent.CompletableFuture<CloseJobResponse> closeJob(CloseJobRequest request) throws java.io.IOExceptionCloses one or more anomaly detection jobs. A job can be opened and closed multiple times throughout its lifecycle.- Throws:
java.io.IOException
- 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.IOExceptionCloses 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 freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteCalendar
public java.util.concurrent.CompletableFuture<DeleteCalendarResponse> deleteCalendar(DeleteCalendarRequest request) throws java.io.IOExceptionDeletes a calendar.- Throws:
java.io.IOException
- 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.IOExceptionDeletes a calendar.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteCalendarEvent
public java.util.concurrent.CompletableFuture<DeleteCalendarEventResponse> deleteCalendarEvent(DeleteCalendarEventRequest request) throws java.io.IOExceptionDeletes scheduled events from a calendar.- Throws:
java.io.IOException
- 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.IOExceptionDeletes scheduled events from a calendar.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteCalendarJob
public java.util.concurrent.CompletableFuture<DeleteCalendarJobResponse> deleteCalendarJob(DeleteCalendarJobRequest request) throws java.io.IOExceptionDeletes anomaly detection jobs from a calendar.- Throws:
java.io.IOException
- 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.IOExceptionDeletes anomaly detection jobs from a calendar.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteDataFrameAnalytics
public java.util.concurrent.CompletableFuture<DeleteDataFrameAnalyticsResponse> deleteDataFrameAnalytics(DeleteDataFrameAnalyticsRequest request) throws java.io.IOExceptionDeletes an existing data frame analytics job.- Throws:
java.io.IOException
- 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.IOExceptionDeletes an existing data frame analytics job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteDatafeed
public java.util.concurrent.CompletableFuture<DeleteDatafeedResponse> deleteDatafeed(DeleteDatafeedRequest request) throws java.io.IOExceptionDeletes an existing datafeed.- Throws:
java.io.IOException
- 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.IOExceptionDeletes an existing datafeed.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteFilter
public java.util.concurrent.CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest request) throws java.io.IOExceptionDeletes a filter.- Throws:
java.io.IOException
- 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.IOExceptionDeletes a filter.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteForecast
public java.util.concurrent.CompletableFuture<DeleteForecastResponse> deleteForecast(DeleteForecastRequest request) throws java.io.IOExceptionDeletes forecasts from a machine learning job.- Throws:
java.io.IOException
- 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.IOExceptionDeletes forecasts from a machine learning job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteJob
public java.util.concurrent.CompletableFuture<DeleteJobResponse> deleteJob(DeleteJobRequest request) throws java.io.IOExceptionDeletes an existing anomaly detection job.- Throws:
java.io.IOException
- 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.IOExceptionDeletes an existing anomaly detection job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteModelSnapshot
public java.util.concurrent.CompletableFuture<DeleteModelSnapshotResponse> deleteModelSnapshot(DeleteModelSnapshotRequest request) throws java.io.IOExceptionDeletes an existing model snapshot.- Throws:
java.io.IOException
- 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.IOExceptionDeletes an existing model snapshot.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteTrainedModel
public java.util.concurrent.CompletableFuture<DeleteTrainedModelResponse> deleteTrainedModel(DeleteTrainedModelRequest request) throws java.io.IOExceptionDeletes an existing trained inference model that is currently not referenced by an ingest pipeline.- Throws:
java.io.IOException
- 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.IOExceptionDeletes an existing trained inference model that is currently not referenced by an ingest pipeline.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
deleteTrainedModelAlias
public java.util.concurrent.CompletableFuture<DeleteTrainedModelAliasResponse> deleteTrainedModelAlias(DeleteTrainedModelAliasRequest request) throws java.io.IOExceptionDeletes a model alias that refers to the trained model- Throws:
java.io.IOException
- 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.IOExceptionDeletes a model alias that refers to the trained model- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
estimateModelMemory
public java.util.concurrent.CompletableFuture<EstimateModelMemoryResponse> estimateModelMemory(EstimateModelMemoryRequest request) throws java.io.IOExceptionEstimates the model memory- Throws:
java.io.IOException
- 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.IOExceptionEstimates the model memory- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
evaluateDataFrame
public java.util.concurrent.CompletableFuture<EvaluateDataFrameResponse> evaluateDataFrame(EvaluateDataFrameRequest request) throws java.io.IOExceptionEvaluates the data frame analytics for an annotated index.- Throws:
java.io.IOException
- 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.IOExceptionEvaluates the data frame analytics for an annotated index.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
explainDataFrameAnalytics
public java.util.concurrent.CompletableFuture<ExplainDataFrameAnalyticsResponse> explainDataFrameAnalytics(ExplainDataFrameAnalyticsRequest request) throws java.io.IOExceptionExplains a data frame analytics config.- Throws:
java.io.IOException
- 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.IOExceptionExplains a data frame analytics config.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
findFileStructure
public java.util.concurrent.CompletableFuture<FindFileStructureResponse> findFileStructure(FindFileStructureRequest request) throws java.io.IOExceptionFinds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
findFileStructure
public final java.util.concurrent.CompletableFuture<FindFileStructureResponse> findFileStructure(java.util.function.Function<FindFileStructureRequest.Builder,ObjectBuilder<FindFileStructureRequest>> fn) throws java.io.IOExceptionFinds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
flushJob
public java.util.concurrent.CompletableFuture<FlushJobResponse> flushJob(FlushJobRequest request) throws java.io.IOExceptionForces any buffered data to be processed by the job.- Throws:
java.io.IOException
- 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.IOExceptionForces any buffered data to be processed by the job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
forecast
public java.util.concurrent.CompletableFuture<ForecastResponse> forecast(ForecastRequest request) throws java.io.IOExceptionPredicts the future behavior of a time series by using its historical behavior.- Throws:
java.io.IOException
- 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.IOExceptionPredicts the future behavior of a time series by using its historical behavior.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getBuckets
public java.util.concurrent.CompletableFuture<GetBucketsResponse> getBuckets(GetBucketsRequest request) throws java.io.IOExceptionRetrieves anomaly detection job results for one or more buckets.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves anomaly detection job results for one or more buckets.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getCalendarEvents
public java.util.concurrent.CompletableFuture<GetCalendarEventsResponse> getCalendarEvents(GetCalendarEventsRequest request) throws java.io.IOExceptionRetrieves information about the scheduled events in calendars.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves information about the scheduled events in calendars.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getCalendars
public java.util.concurrent.CompletableFuture<GetCalendarsResponse> getCalendars(GetCalendarsRequest request) throws java.io.IOExceptionRetrieves configuration information for calendars.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves configuration information for calendars.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getCategories
public java.util.concurrent.CompletableFuture<GetCategoriesResponse> getCategories(GetCategoriesRequest request) throws java.io.IOExceptionRetrieves anomaly detection job results for one or more categories.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves anomaly detection job results for one or more categories.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalytics
public java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsResponse> getDataFrameAnalytics(GetDataFrameAnalyticsRequest request) throws java.io.IOExceptionRetrieves configuration information for data frame analytics jobs.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves configuration information for data frame analytics jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getDataFrameAnalyticsStats
public java.util.concurrent.CompletableFuture<GetDataFrameAnalyticsStatsResponse> getDataFrameAnalyticsStats(GetDataFrameAnalyticsStatsRequest request) throws java.io.IOExceptionRetrieves usage information for data frame analytics jobs.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves usage information for data frame analytics jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getDatafeedStats
public java.util.concurrent.CompletableFuture<GetDatafeedStatsResponse> getDatafeedStats(GetDatafeedStatsRequest request) throws java.io.IOExceptionRetrieves usage information for datafeeds.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves usage information for datafeeds.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getDatafeeds
public java.util.concurrent.CompletableFuture<GetDatafeedsResponse> getDatafeeds(GetDatafeedsRequest request) throws java.io.IOExceptionRetrieves configuration information for datafeeds.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves configuration information for datafeeds.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getFilters
public java.util.concurrent.CompletableFuture<GetFiltersResponse> getFilters(GetFiltersRequest request) throws java.io.IOExceptionRetrieves filters.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves filters.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getInfluencers
public java.util.concurrent.CompletableFuture<GetInfluencersResponse> getInfluencers(GetInfluencersRequest request) throws java.io.IOExceptionRetrieves anomaly detection job results for one or more influencers.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves anomaly detection job results for one or more influencers.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getJobStats
public java.util.concurrent.CompletableFuture<GetJobStatsResponse> getJobStats(GetJobStatsRequest request) throws java.io.IOExceptionRetrieves usage information for anomaly detection jobs.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves usage information for anomaly detection jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getJobs
public java.util.concurrent.CompletableFuture<GetJobsResponse> getJobs(GetJobsRequest request) throws java.io.IOExceptionRetrieves configuration information for anomaly detection jobs.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves configuration information for anomaly detection jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getModelSnapshots
public java.util.concurrent.CompletableFuture<GetModelSnapshotsResponse> getModelSnapshots(GetModelSnapshotsRequest request) throws java.io.IOExceptionRetrieves information about model snapshots.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves information about model snapshots.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getOverallBuckets
public java.util.concurrent.CompletableFuture<GetOverallBucketsResponse> getOverallBuckets(GetOverallBucketsRequest request) throws java.io.IOExceptionRetrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves overall bucket results that summarize the bucket results of multiple anomaly detection jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getRecords
public java.util.concurrent.CompletableFuture<GetRecordsResponse> getRecords(GetRecordsRequest request) throws java.io.IOExceptionRetrieves anomaly records for an anomaly detection job.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves anomaly records for an anomaly detection job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getTrainedModels
public java.util.concurrent.CompletableFuture<GetTrainedModelsResponse> getTrainedModels(GetTrainedModelsRequest request) throws java.io.IOExceptionRetrieves configuration information for a trained inference model.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves configuration information for a trained inference model.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
getTrainedModelsStats
public java.util.concurrent.CompletableFuture<GetTrainedModelsStatsResponse> getTrainedModelsStats(GetTrainedModelsStatsRequest request) throws java.io.IOExceptionRetrieves usage information for trained inference models.- Throws:
java.io.IOException
- 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.IOExceptionRetrieves usage information for trained inference models.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
info
Returns defaults and limits used by machine learning.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
openJob
public java.util.concurrent.CompletableFuture<OpenJobResponse> openJob(OpenJobRequest request) throws java.io.IOExceptionOpens one or more anomaly detection jobs.- Throws:
java.io.IOException
- 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.IOExceptionOpens one or more anomaly detection jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
postCalendarEvents
public java.util.concurrent.CompletableFuture<PostCalendarEventsResponse> postCalendarEvents(PostCalendarEventsRequest request) throws java.io.IOExceptionPosts scheduled events in a calendar.- Throws:
java.io.IOException
- 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.IOExceptionPosts scheduled events in a calendar.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
postData
public <TData> java.util.concurrent.CompletableFuture<PostDataResponse> postData(PostDataRequest<TData> request) throws java.io.IOExceptionSends data to an anomaly detection job for analysis.- Throws:
java.io.IOException
- 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.IOExceptionSends data to an anomaly detection job for analysis.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
previewDataFrameAnalytics
public java.util.concurrent.CompletableFuture<PreviewDataFrameAnalyticsResponse> previewDataFrameAnalytics(PreviewDataFrameAnalyticsRequest request) throws java.io.IOExceptionPreviews that will be analyzed given a data frame analytics config.- Throws:
java.io.IOException
- 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.IOExceptionPreviews that will be analyzed given a data frame analytics config.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- 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.IOExceptionPreviews a datafeed.- Throws:
java.io.IOException
- 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.IOExceptionPreviews a datafeed.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putCalendar
public java.util.concurrent.CompletableFuture<PutCalendarResponse> putCalendar(PutCalendarRequest request) throws java.io.IOExceptionInstantiates a calendar.- Throws:
java.io.IOException
- 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.IOExceptionInstantiates a calendar.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putCalendarJob
public java.util.concurrent.CompletableFuture<PutCalendarJobResponse> putCalendarJob(PutCalendarJobRequest request) throws java.io.IOExceptionAdds an anomaly detection job to a calendar.- Throws:
java.io.IOException
- 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.IOExceptionAdds an anomaly detection job to a calendar.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putDataFrameAnalytics
public java.util.concurrent.CompletableFuture<PutDataFrameAnalyticsResponse> putDataFrameAnalytics(PutDataFrameAnalyticsRequest request) throws java.io.IOExceptionInstantiates a data frame analytics job.- Throws:
java.io.IOException
- 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.IOExceptionInstantiates a data frame analytics job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putDatafeed
public java.util.concurrent.CompletableFuture<PutDatafeedResponse> putDatafeed(PutDatafeedRequest request) throws java.io.IOExceptionInstantiates a datafeed.- Throws:
java.io.IOException
- 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.IOExceptionInstantiates a datafeed.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putFilter
public java.util.concurrent.CompletableFuture<PutFilterResponse> putFilter(PutFilterRequest request) throws java.io.IOExceptionInstantiates a filter.- Throws:
java.io.IOException
- 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.IOExceptionInstantiates a filter.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putJob
public java.util.concurrent.CompletableFuture<PutJobResponse> putJob(PutJobRequest request) throws java.io.IOExceptionInstantiates an anomaly detection job.- Throws:
java.io.IOException
- 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.IOExceptionInstantiates an anomaly detection job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putTrainedModel
public java.util.concurrent.CompletableFuture<PutTrainedModelResponse> putTrainedModel(PutTrainedModelRequest request) throws java.io.IOExceptionCreates an inference trained model.- Throws:
java.io.IOException
- 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.IOExceptionCreates an inference trained model.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
putTrainedModelAlias
public java.util.concurrent.CompletableFuture<PutTrainedModelAliasResponse> putTrainedModelAlias(PutTrainedModelAliasRequest request) throws java.io.IOExceptionCreates a new model alias (or reassigns an existing one) to refer to the trained model- Throws:
java.io.IOException
- 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.IOExceptionCreates a new model alias (or reassigns an existing one) to refer to the trained model- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
resetJob
public java.util.concurrent.CompletableFuture<ResetJobResponse> resetJob(ResetJobRequest request) throws java.io.IOExceptionResets an existing anomaly detection job.- Throws:
java.io.IOException
- 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.IOExceptionResets an existing anomaly detection job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
revertModelSnapshot
public java.util.concurrent.CompletableFuture<RevertModelSnapshotResponse> revertModelSnapshot(RevertModelSnapshotRequest request) throws java.io.IOExceptionReverts to a specific snapshot.- Throws:
java.io.IOException
- 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.IOExceptionReverts to a specific snapshot.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
setUpgradeMode
public java.util.concurrent.CompletableFuture<SetUpgradeModeResponse> setUpgradeMode(SetUpgradeModeRequest request) throws java.io.IOExceptionSets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.- Throws:
java.io.IOException
- 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.IOExceptionSets a cluster wide upgrade_mode setting that prepares machine learning indices for an upgrade.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
startDataFrameAnalytics
public java.util.concurrent.CompletableFuture<StartDataFrameAnalyticsResponse> startDataFrameAnalytics(StartDataFrameAnalyticsRequest request) throws java.io.IOExceptionStarts a data frame analytics job.- Throws:
java.io.IOException
- 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.IOExceptionStarts a data frame analytics job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
startDatafeed
public java.util.concurrent.CompletableFuture<StartDatafeedResponse> startDatafeed(StartDatafeedRequest request) throws java.io.IOExceptionStarts one or more datafeeds.- Throws:
java.io.IOException
- 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.IOExceptionStarts one or more datafeeds.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
stopDataFrameAnalytics
public java.util.concurrent.CompletableFuture<StopDataFrameAnalyticsResponse> stopDataFrameAnalytics(StopDataFrameAnalyticsRequest request) throws java.io.IOExceptionStops one or more data frame analytics jobs.- Throws:
java.io.IOException
- 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.IOExceptionStops one or more data frame analytics jobs.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
stopDatafeed
public java.util.concurrent.CompletableFuture<StopDatafeedResponse> stopDatafeed(StopDatafeedRequest request) throws java.io.IOExceptionStops one or more datafeeds.- Throws:
java.io.IOException
- 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.IOExceptionStops one or more datafeeds.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
updateDataFrameAnalytics
public java.util.concurrent.CompletableFuture<UpdateDataFrameAnalyticsResponse> updateDataFrameAnalytics(UpdateDataFrameAnalyticsRequest request) throws java.io.IOExceptionUpdates certain properties of a data frame analytics job.- Throws:
java.io.IOException
- 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.IOExceptionUpdates certain properties of a data frame analytics job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
updateFilter
public java.util.concurrent.CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest request) throws java.io.IOExceptionUpdates the description of a filter, adds items, or removes items.- Throws:
java.io.IOException
- 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.IOExceptionUpdates the description of a filter, adds items, or removes items.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
updateJob
public java.util.concurrent.CompletableFuture<UpdateJobResponse> updateJob(UpdateJobRequest request) throws java.io.IOExceptionUpdates certain properties of an anomaly detection job.- Throws:
java.io.IOException
- 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.IOExceptionUpdates certain properties of an anomaly detection job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
updateModelSnapshot
public java.util.concurrent.CompletableFuture<UpdateModelSnapshotResponse> updateModelSnapshot(UpdateModelSnapshotRequest request) throws java.io.IOExceptionUpdates certain properties of a snapshot.- Throws:
java.io.IOException
- 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.IOExceptionUpdates certain properties of a snapshot.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
upgradeJobSnapshot
public java.util.concurrent.CompletableFuture<UpgradeJobSnapshotResponse> upgradeJobSnapshot(UpgradeJobSnapshotRequest request) throws java.io.IOExceptionUpgrades a given job snapshot to the current major version.- Throws:
java.io.IOException
- 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.IOExceptionUpgrades a given job snapshot to the current major version.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
validate
public java.util.concurrent.CompletableFuture<ValidateResponse> validate(ValidateRequest request) throws java.io.IOExceptionValidates an anomaly detection job.- Throws:
java.io.IOException
- 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.IOExceptionValidates an anomaly detection job.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
validateDetector
public java.util.concurrent.CompletableFuture<ValidateDetectorResponse> validateDetector(ValidateDetectorRequest request) throws java.io.IOExceptionValidates an anomaly detection detector.- Throws:
java.io.IOException
- 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.IOExceptionValidates an anomaly detection detector.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-