Class NodeInfoSettingsNode.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.info.NodeInfoSettingsNode.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeInfoSettingsNode.Builder,,NodeInfoSettingsNode> MutableBuilder<NodeInfoSettingsNode.Builder,,NodeInfoSettingsNode> ObjectBuilder<NodeInfoSettingsNode>
- Enclosing class:
NodeInfoSettingsNode
public static class NodeInfoSettingsNode.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeInfoSettingsNode.Builder,NodeInfoSettingsNode>
Builder for
NodeInfoSettingsNode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe custom attributes assigned to the node.The custom attributes assigned to the node.build()Builds aNodeInfoSettingsNode.copy()Create a new builderCopyableBuilderthat is a copy of this one.maxLocalStorageNodes(String value) The maximum number of nodes allowed to store data locallyRequired - API name:nameMethods 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<NodeInfoSettingsNode.Builder,NodeInfoSettingsNode> - Returns:
- a new builder instance.
-
attr
The custom attributes assigned to the node.API name:
attrAdds all elements of
maptoattr. -
attr
The custom attributes assigned to the node.API name:
attrAdds an entry to
attr. -
maxLocalStorageNodes
The maximum number of nodes allowed to store data locallyAPI name:
max_local_storage_nodes -
name
Required - API name:name -
build
Builds aNodeInfoSettingsNode.- Specified by:
buildin interfaceObjectBuilder<NodeInfoSettingsNode>- Throws:
NullPointerException- if some of the required fields are null.
-