Class StartDatafeedResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StartDatafeedResponse.Builder>
co.elastic.clients.elasticsearch.ml.StartDatafeedResponse.Builder
- All Implemented Interfaces:
WithJson<StartDatafeedResponse.Builder>,ObjectBuilder<StartDatafeedResponse>
- Enclosing class:
- StartDatafeedResponse
public static class StartDatafeedResponse.Builder
extends WithJsonObjectBuilderBase<StartDatafeedResponse.Builder>
implements ObjectBuilder<StartDatafeedResponse>
Builder for
StartDatafeedResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStartDatafeedResponse.Required - The ID of the node that the job was started on.Required - The ID of the node that the job was started on.protected StartDatafeedResponse.Builderself()started(boolean value) Required - For a successful response, this value is alwaystrue.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
-
node
Required - The ID of the node that the job was started on. In serverless this will be the "serverless". If the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.API name:
nodeAdds all elements of
listtonode. -
node
Required - The ID of the node that the job was started on. In serverless this will be the "serverless". If the job is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.API name:
nodeAdds one or more values to
node. -
started
Required - For a successful response, this value is alwaystrue. On failure, an exception is returned instead.API name:
started -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StartDatafeedResponse.Builder>
-
build
Builds aStartDatafeedResponse.- Specified by:
buildin interfaceObjectBuilder<StartDatafeedResponse>- Throws:
NullPointerException- if some of the required fields are null.
-