Class DeleteForecastRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.ml.DeleteForecastRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<DeleteForecastRequest>
- Enclosing class:
- DeleteForecastRequest
public static class DeleteForecastRequest.Builder extends java.lang.Object implements ObjectBuilder<DeleteForecastRequest>
Builder for
DeleteForecastRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DeleteForecastRequest.BuilderallowNoForecasts(java.lang.Boolean value)Whether to ignore if_allmatches no forecastsDeleteForecastRequestbuild()Builds aDeleteForecastRequest.DeleteForecastRequest.BuilderforecastId(java.lang.String value)The ID of the forecast to delete, can be comma delimited list.DeleteForecastRequest.BuilderjobId(java.lang.String value)Required - The ID of the job from which to delete forecastsDeleteForecastRequest.Buildertimeout(java.lang.String value)Controls the time to wait until the forecast(s) are deleted.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jobId
Required - The ID of the job from which to delete forecastsAPI name:
job_id -
forecastId
The ID of the forecast to delete, can be comma delimited list. Leaving blank implies_allAPI name:
forecast_id -
allowNoForecasts
Whether to ignore if_allmatches no forecastsAPI name:
allow_no_forecasts -
timeout
Controls the time to wait until the forecast(s) are deleted. Default to 30 secondsAPI name:
timeout -
build
Builds aDeleteForecastRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteForecastRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-