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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
indexRequired - Defines the destination index to store the results of the data frame analytics job.API name: index
- 
resultsFieldDefines the name of the field in which to store the results of the analysis. Defaults toml.API name: results_field
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<DataframeAnalyticsDestination.Builder>
 
- 
buildBuilds aDataframeAnalyticsDestination.- Specified by:
- buildin interface- ObjectBuilder<DataframeAnalyticsDestination>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-