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 TaskInfo
build()
Builds aTaskInfo
.protected TaskInfo.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.tasks.TaskInfo.AbstractBuilder
action, cancellable, description, headers, headers, id, node, parentTaskId, runningTime, runningTimeInNanos, startTimeInMillis, status, status, type
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
self
in classTaskInfo.AbstractBuilder<TaskInfo.Builder>
-
build
Builds aTaskInfo
.- Specified by:
build
in interfaceObjectBuilder<TaskInfo>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-