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 Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description JobBlockedbuild()Builds aJobBlocked.JobBlocked.Builderreason(JobBlockedReason value)Required - API name:reasonprotected JobBlocked.Builderself()JobBlocked.BuildertaskId(java.lang.String value)API name:task_idMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
reason
Required - API name:reason -
taskId
API name:task_id -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<JobBlocked.Builder>
-
build
Builds aJobBlocked.- Specified by:
buildin interfaceObjectBuilder<JobBlocked>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-