Class PreviewDataFrameAnalyticsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.PreviewDataFrameAnalyticsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<PreviewDataFrameAnalyticsRequest>
- Enclosing class:
- PreviewDataFrameAnalyticsRequest
public static class PreviewDataFrameAnalyticsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<PreviewDataFrameAnalyticsRequest>
Builder for
PreviewDataFrameAnalyticsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PreviewDataFrameAnalyticsRequestbuild()Builds aPreviewDataFrameAnalyticsRequest.PreviewDataFrameAnalyticsRequest.Builderconfig(DataframePreviewConfig value)A data frame analytics config as described in create data frame analytics jobs.PreviewDataFrameAnalyticsRequest.Builderconfig(java.util.function.Function<DataframePreviewConfig.Builder,ObjectBuilder<DataframePreviewConfig>> fn)A data frame analytics config as described in create data frame analytics jobs.PreviewDataFrameAnalyticsRequest.Builderid(java.lang.String value)Identifier for the data frame analytics job.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
-
config
public final PreviewDataFrameAnalyticsRequest.Builder config(@Nullable DataframePreviewConfig value)A data frame analytics config as described in create data frame analytics jobs. Note thatidanddestdon’t need to be provided in the context of this API.API name:
config -
config
public final PreviewDataFrameAnalyticsRequest.Builder config(java.util.function.Function<DataframePreviewConfig.Builder,ObjectBuilder<DataframePreviewConfig>> fn)A data frame analytics config as described in create data frame analytics jobs. Note thatidanddestdon’t need to be provided in the context of this API.API name:
config -
id
Identifier for the data frame analytics job.API name:
id -
build
Builds aPreviewDataFrameAnalyticsRequest.- Specified by:
buildin interfaceObjectBuilder<PreviewDataFrameAnalyticsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-