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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDataframeAnalyticsDestination.Required - Defines the destination index to store the results of the data frame analytics job.resultsField(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, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-