Class TaskInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.tasks.TaskInfo.AbstractBuilder<TaskInfo.Builder>
co.elastic.clients.elasticsearch.tasks.TaskInfo.Builder
- All Implemented Interfaces:
WithJson<TaskInfo.Builder>,ObjectBuilder<TaskInfo>
- Enclosing class:
- TaskInfo
public static class TaskInfo.Builder extends TaskInfo.AbstractBuilder<TaskInfo.Builder> implements ObjectBuilder<TaskInfo>
Builder for
TaskInfo.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TaskInfobuild()Builds aTaskInfo.protected TaskInfo.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.tasks.TaskInfo.AbstractBuilder
action, cancellable, description, headers, headers, id, node, parentTaskId, runningTime, runningTimeInNanos, startTimeInMillis, status, status, typeMethods 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
-
self
- Specified by:
selfin classTaskInfo.AbstractBuilder<TaskInfo.Builder>
-
build
Builds aTaskInfo.- Specified by:
buildin interfaceObjectBuilder<TaskInfo>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-