Class DataframeAnalyticsDestination.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataframeAnalyticsDestination.Builder>
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsDestination.Builder
- All Implemented Interfaces:
WithJson<DataframeAnalyticsDestination.Builder>,ObjectBuilder<DataframeAnalyticsDestination>
- Enclosing class:
- DataframeAnalyticsDestination
public static class DataframeAnalyticsDestination.Builder extends WithJsonObjectBuilderBase<DataframeAnalyticsDestination.Builder> implements ObjectBuilder<DataframeAnalyticsDestination>
Builder for
DataframeAnalyticsDestination.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description DataframeAnalyticsDestinationbuild()Builds aDataframeAnalyticsDestination.DataframeAnalyticsDestination.Builderindex(java.lang.String value)Required - Defines the destination index to store the results of the data frame analytics job.DataframeAnalyticsDestination.BuilderresultsField(java.lang.String value)Defines the name of the field in which to store the results of the analysis.protected DataframeAnalyticsDestination.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
-
index
Required - Defines the destination index to store the results of the data frame analytics job.API name:
index -
resultsField
Defines the name of the field in which to store the results of the analysis. Defaults toml.API name:
results_field -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DataframeAnalyticsDestination.Builder>
-
build
Builds aDataframeAnalyticsDestination.- Specified by:
buildin interfaceObjectBuilder<DataframeAnalyticsDestination>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-