Class NodeAttributesRecord.Builder
java.lang.Object
org.opensearch.client.opensearch.cat.node_attributes.NodeAttributesRecord.Builder
- All Implemented Interfaces:
ObjectBuilder<NodeAttributesRecord>
- Enclosing class:
- NodeAttributesRecord
public static class NodeAttributesRecord.Builder extends java.lang.Object implements ObjectBuilder<NodeAttributesRecord>
Builder for
NodeAttributesRecord
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V>
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NodeAttributesRecord.Builder
attr(java.lang.String value)
attribute description API name:attr
NodeAttributesRecord
build()
Builds aNodeAttributesRecord
.NodeAttributesRecord.Builder
host(java.lang.String value)
host name API name:host
NodeAttributesRecord.Builder
id(java.lang.String value)
unique node id API name:id
NodeAttributesRecord.Builder
ip(java.lang.String value)
ip address API name:ip
NodeAttributesRecord.Builder
node(java.lang.String value)
node name API name:node
NodeAttributesRecord.Builder
pid(java.lang.String value)
process id API name:pid
NodeAttributesRecord.Builder
port(java.lang.String value)
bound transport port API name:port
NodeAttributesRecord.Builder
value(java.lang.String value)
attribute value API name:value
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
node
node name API name:node
-
id
unique node id API name:id
-
pid
process id API name:pid
-
host
host name API name:host
-
ip
ip address API name:ip
-
port
bound transport port API name:port
-
attr
attribute description API name:attr
-
value
attribute value API name:value
-
build
Builds aNodeAttributesRecord
.- Specified by:
build
in interfaceObjectBuilder<NodeAttributesRecord>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-