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 -
Method Summary
Modifier 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.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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:
NullPointerException- if some of the required fields are null.
-