Class OpenJobResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<OpenJobResponse.Builder>
co.elastic.clients.elasticsearch.ml.OpenJobResponse.Builder
- All Implemented Interfaces:
- WithJson<OpenJobResponse.Builder>,- ObjectBuilder<OpenJobResponse>
- Enclosing class:
- OpenJobResponse
public static class OpenJobResponse.Builder
extends WithJsonObjectBuilderBase<OpenJobResponse.Builder>
implements ObjectBuilder<OpenJobResponse>
Builder for 
OpenJobResponse.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aOpenJobResponse.final OpenJobResponse.BuilderRequired - The ID of the node that the job was started on.final OpenJobResponse.Builderopened(boolean value) Required - API name:openedprotected OpenJobResponse.Builderself()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- 
openedRequired - API name:opened
- 
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: node
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<OpenJobResponse.Builder>
 
- 
buildBuilds aOpenJobResponse.- Specified by:
- buildin interface- ObjectBuilder<OpenJobResponse>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-