Class NodeInfoAction.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoAction.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoAction.Builder,,NodeInfoAction> MutableBuilder<NodeInfoAction.Builder,,NodeInfoAction> ObjectBuilder<NodeInfoAction>
- Enclosing class:
NodeInfoAction
public static class NodeInfoAction.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoAction.Builder,NodeInfoAction>
Builder for
NodeInfoAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoAction.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NodeInfoAction.BuilderdestructiveRequiresName(String value) Required - Whether destructive actions require explicit names.Methods 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<NodeInfoAction.Builder,NodeInfoAction> - Returns:
- a new builder instance.
-
destructiveRequiresName
Required - Whether destructive actions require explicit names.API name:
destructive_requires_name -
build
Builds aNodeInfoAction.- Specified by:
buildin interfaceObjectBuilder<NodeInfoAction>- Throws:
NullPointerException- if some of the required fields are null.
-