Class TaskInfo.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.tasks.TaskInfoBase.AbstractBuilder<TaskInfo.Builder>
org.opensearch.client.opensearch.tasks.TaskInfo.Builder
- All Implemented Interfaces:
CopyableBuilder<TaskInfo.Builder,,TaskInfo> MutableBuilder<TaskInfo.Builder,,TaskInfo> ObjectBuilder<TaskInfo>
- Enclosing class:
TaskInfo
public static class TaskInfo.Builder
extends TaskInfoBase.AbstractBuilder<TaskInfo.Builder>
implements CopyableBuilder<TaskInfo.Builder,TaskInfo>
Builder for
TaskInfo.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTaskInfo.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected TaskInfo.Builderself()Methods inherited from class org.opensearch.client.opensearch.tasks.TaskInfoBase.AbstractBuilder
action, cancellable, cancellationTimeMillis, cancelled, description, headers, headers, id, node, parentTaskId, resourceStats, resourceStats, runningTime, runningTime, runningTimeInNanos, startTimeInMillis, status, status, typeMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<TaskInfo.Builder,TaskInfo> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classTaskInfoBase.AbstractBuilder<TaskInfo.Builder>
-
build
Builds aTaskInfo.- Specified by:
buildin interfaceObjectBuilder<TaskInfo>- Throws:
NullPointerException- if some of the required fields are null.
-