Class JobBlocked.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<JobBlocked.Builder>
co.elastic.clients.elasticsearch.ml.JobBlocked.Builder
- All Implemented Interfaces:
- WithJson<JobBlocked.Builder>,- ObjectBuilder<JobBlocked>
- Enclosing class:
- JobBlocked
public static class JobBlocked.Builder
extends WithJsonObjectBuilderBase<JobBlocked.Builder>
implements ObjectBuilder<JobBlocked>
Builder for 
JobBlocked.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aJobBlocked.final JobBlocked.Builderreason(JobBlockedReason value) Required - API name:reasonprotected JobBlocked.Builderself()final JobBlocked.BuilderAPI name:task_idMethods 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- 
reasonRequired - API name:reason
- 
taskIdAPI name:task_id
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<JobBlocked.Builder>
 
- 
buildBuilds aJobBlocked.- Specified by:
- buildin interface- ObjectBuilder<JobBlocked>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-