Class DataframeAnalyticsDestination.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.DataframeAnalyticsDestination.Builder
- All Implemented Interfaces:
ObjectBuilder<DataframeAnalyticsDestination>
- Enclosing class:
- DataframeAnalyticsDestination
public static class DataframeAnalyticsDestination.Builder extends ObjectBuilderBase implements ObjectBuilder<DataframeAnalyticsDestination>
Builder for
DataframeAnalyticsDestination
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DataframeAnalyticsDestination
build()
Builds aDataframeAnalyticsDestination
.DataframeAnalyticsDestination.Builder
index(java.lang.String value)
Required - Defines the destination index to store the results of the data frame analytics job.DataframeAnalyticsDestination.Builder
resultsField(java.lang.String value)
Defines the name of the field in which to store the results of the analysis.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
build
Builds aDataframeAnalyticsDestination
.- Specified by:
build
in interfaceObjectBuilder<DataframeAnalyticsDestination>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-