Class DeleteTaskResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder<DeleteTaskResponse.Builder>
org.opensearch.client.opensearch.ml.DeleteTaskResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<DeleteTaskResponse.Builder,,DeleteTaskResponse> MutableBuilder<DeleteTaskResponse.Builder,,DeleteTaskResponse> ObjectBuilder<DeleteTaskResponse>
- Enclosing class:
DeleteTaskResponse
public static class DeleteTaskResponse.Builder
extends WriteResponseBase.AbstractBuilder<DeleteTaskResponse.Builder>
implements CopyableBuilder<DeleteTaskResponse.Builder,DeleteTaskResponse>
Builder for
DeleteTaskResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteTaskResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected DeleteTaskResponse.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.WriteResponseBase.AbstractBuilder
forcedRefresh, id, index, primaryTerm, result, seqNo, shards, shards, versionMethods 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<DeleteTaskResponse.Builder,DeleteTaskResponse> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classWriteResponseBase.AbstractBuilder<DeleteTaskResponse.Builder>
-
build
Builds aDeleteTaskResponse.- Specified by:
buildin interfaceObjectBuilder<DeleteTaskResponse>- Throws:
NullPointerException- if some of the required fields are null.
-