Class NodeAttributesRecord.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cat.nodeattrs.NodeAttributesRecord.Builder
- All Implemented Interfaces:
CopyableBuilder<NodeAttributesRecord.Builder,,NodeAttributesRecord> MutableBuilder<NodeAttributesRecord.Builder,,NodeAttributesRecord> ObjectBuilder<NodeAttributesRecord>
- Enclosing class:
NodeAttributesRecord
public static class NodeAttributesRecord.Builder
extends ObjectBuilderBase
implements CopyableBuilder<NodeAttributesRecord.Builder,NodeAttributesRecord>
Builder for
NodeAttributesRecord.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe attribute name.build()Builds aNodeAttributesRecord.copy()Create a new builderCopyableBuilderthat is a copy of this one.The hostname.The unique node identifier.The IP address.The node name.The process identifier.The bound transport port.The attribute value.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<NodeAttributesRecord.Builder,NodeAttributesRecord> - Returns:
- a new builder instance.
-
attr
The attribute name.API name:
attr -
host
The hostname.API name:
host -
id
The unique node identifier.API name:
id -
ip
The IP address.API name:
ip -
node
The node name.API name:
node -
pid
The process identifier.API name:
pid -
port
The bound transport port.API name:
port -
value
The attribute value.API name:
value -
build
Builds aNodeAttributesRecord.- Specified by:
buildin interfaceObjectBuilder<NodeAttributesRecord>- Throws:
NullPointerException- if some of the required fields are null.
-