Class StartDataFrameAnalyticsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StartDataFrameAnalyticsResponse.Builder>
co.elastic.clients.elasticsearch.ml.StartDataFrameAnalyticsResponse.Builder
- All Implemented Interfaces:
WithJson<StartDataFrameAnalyticsResponse.Builder>,ObjectBuilder<StartDataFrameAnalyticsResponse>
- Enclosing class:
- StartDataFrameAnalyticsResponse
public static class StartDataFrameAnalyticsResponse.Builder
extends WithJsonObjectBuilderBase<StartDataFrameAnalyticsResponse.Builder>
implements ObjectBuilder<StartDataFrameAnalyticsResponse>
Builder for
StartDataFrameAnalyticsResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledged(boolean value) Required - API name:acknowledgedbuild()Builds aStartDataFrameAnalyticsResponse.Required - The ID of the node that the job was started on.protected StartDataFrameAnalyticsResponse.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
-
acknowledged
Required - API name:acknowledged -
node
Required - The ID of the node that the job was started on. If the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string. The node ID of the node the job has been assigned to, or an empty string if it hasn't been assigned to a node. In serverless if the job has been assigned to run then the node ID will be "serverless".API name:
node -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StartDataFrameAnalyticsResponse.Builder>
-
build
Builds aStartDataFrameAnalyticsResponse.- Specified by:
buildin interfaceObjectBuilder<StartDataFrameAnalyticsResponse>- Throws:
NullPointerException- if some of the required fields are null.
-