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