Class ForcemergeResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.ShardsOperationResponseBase.AbstractBuilder<ForcemergeResponse.Builder>
org.opensearch.client.opensearch.indices.ForcemergeResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<ForcemergeResponse.Builder,,ForcemergeResponse> MutableBuilder<ForcemergeResponse.Builder,,ForcemergeResponse> ObjectBuilder<ForcemergeResponse>
- Enclosing class:
ForcemergeResponse
public static class ForcemergeResponse.Builder
extends ShardsOperationResponseBase.AbstractBuilder<ForcemergeResponse.Builder>
implements CopyableBuilder<ForcemergeResponse.Builder,ForcemergeResponse>
Builder for
ForcemergeResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aForcemergeResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected ForcemergeResponse.Builderself()Task contains a task id returned whenwait_for_completion=false, you can use thetask_idto get the status of the task at _tasks/<task_id>.Methods inherited from class org.opensearch.client.opensearch._types.ShardsOperationResponseBase.AbstractBuilder
shards, shardsMethods 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<ForcemergeResponse.Builder,ForcemergeResponse> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classShardsOperationResponseBase.AbstractBuilder<ForcemergeResponse.Builder>
-
task
Task contains a task id returned whenwait_for_completion=false, you can use thetask_idto get the status of the task at _tasks/<task_id>.API name:
task -
build
Builds aForcemergeResponse.- Specified by:
buildin interfaceObjectBuilder<ForcemergeResponse>- Throws:
NullPointerException- if some of the required fields are null.
-