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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStartDatafeedResponse
.Required - The ID of the node that the datafeed was started on.Required - The ID of the node that the datafeed was started on.protected StartDatafeedResponse.Builder
self()
started
(boolean value) Required - For a successful response, this value is alwaystrue
.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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 datafeed was started on. If the datafeed is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.API name:
node
Adds all elements of
list
tonode
. -
node
Required - The ID of the node that the datafeed was started on. If the datafeed is allowed to open lazily and has not yet been assigned to a node, this value is an empty string.API name:
node
Adds 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:
self
in classWithJsonObjectBuilderBase<StartDatafeedResponse.Builder>
-
build
Builds aStartDatafeedResponse
.- Specified by:
build
in interfaceObjectBuilder<StartDatafeedResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-