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 SummaryConstructors
- 
Method SummaryModifier 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.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
nodeRequired - 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.
- 
nodeRequired - 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.
- 
startedRequired - For a successful response, this value is alwaystrue. On failure, an exception is returned instead.API name: started
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<StartDatafeedResponse.Builder>
 
- 
buildBuilds aStartDatafeedResponse.- Specified by:
- buildin interface- ObjectBuilder<StartDatafeedResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-