Class ForecastResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ForecastResponse.Builder>
co.elastic.clients.elasticsearch.ml.ForecastResponse.Builder
- All Implemented Interfaces:
WithJson<ForecastResponse.Builder>,ObjectBuilder<ForecastResponse>
- Enclosing class:
- ForecastResponse
public static class ForecastResponse.Builder extends WithJsonObjectBuilderBase<ForecastResponse.Builder> implements ObjectBuilder<ForecastResponse>
Builder for
ForecastResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ForecastResponse.Builderacknowledged(boolean value)Required - API name:acknowledgedForecastResponsebuild()Builds aForecastResponse.ForecastResponse.BuilderforecastId(java.lang.String value)Required - API name:forecast_idprotected ForecastResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledged
Required - API name:acknowledged -
forecastId
Required - API name:forecast_id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ForecastResponse.Builder>
-
build
Builds aForecastResponse.- Specified by:
buildin interfaceObjectBuilder<ForecastResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-