Class MlDataFrameAnalyticsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.MlDataFrameAnalyticsResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<MlDataFrameAnalyticsResponse>
- Enclosing class:
- MlDataFrameAnalyticsResponse
public static class MlDataFrameAnalyticsResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<MlDataFrameAnalyticsResponse>
Builder for
MlDataFrameAnalyticsResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description MlDataFrameAnalyticsResponsebuild()Builds aMlDataFrameAnalyticsResponse.MlDataFrameAnalyticsResponse.BuildervalueBody(DataFrameAnalyticsRecord value, DataFrameAnalyticsRecord... values)Required - Response value.MlDataFrameAnalyticsResponse.BuildervalueBody(java.util.function.Function<DataFrameAnalyticsRecord.Builder,ObjectBuilder<DataFrameAnalyticsRecord>> fn)Required - Response value.MlDataFrameAnalyticsResponse.BuildervalueBody(java.util.List<DataFrameAnalyticsRecord> list)Required - Response value.Methods 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
-
valueBody
public final MlDataFrameAnalyticsResponse.Builder valueBody(java.util.List<DataFrameAnalyticsRecord> list)Required - Response value.API name:
_value_bodyAdds all elements of
listtovalueBody. -
valueBody
public final MlDataFrameAnalyticsResponse.Builder valueBody(DataFrameAnalyticsRecord value, DataFrameAnalyticsRecord... values)Required - Response value.API name:
_value_bodyAdds one or more values to
valueBody. -
valueBody
public final MlDataFrameAnalyticsResponse.Builder valueBody(java.util.function.Function<DataFrameAnalyticsRecord.Builder,ObjectBuilder<DataFrameAnalyticsRecord>> fn)Required - Response value.API name:
_value_bodyAdds a value to
valueBodyusing a builder lambda. -
build
Builds aMlDataFrameAnalyticsResponse.- Specified by:
buildin interfaceObjectBuilder<MlDataFrameAnalyticsResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-