Class NodeInfoNetworkInterface.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.nodes.info.NodeInfoNetworkInterface.Builder
-
- All Implemented Interfaces:
ObjectBuilder<NodeInfoNetworkInterface>
- Enclosing class:
- NodeInfoNetworkInterface
public static class NodeInfoNetworkInterface.Builder extends ObjectBuilderBase implements ObjectBuilder<NodeInfoNetworkInterface>
Builder forNodeInfoNetworkInterface
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInfoNetworkInterface.Builder
address(java.lang.String value)
Required - API name:address
NodeInfoNetworkInterface
build()
Builds aNodeInfoNetworkInterface
.NodeInfoNetworkInterface.Builder
macAddress(java.lang.String value)
Required - API name:mac_address
NodeInfoNetworkInterface.Builder
name(java.lang.String value)
Required - API name:name
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
address
public final NodeInfoNetworkInterface.Builder address(java.lang.String value)
Required - API name:address
-
macAddress
public final NodeInfoNetworkInterface.Builder macAddress(java.lang.String value)
Required - API name:mac_address
-
name
public final NodeInfoNetworkInterface.Builder name(java.lang.String value)
Required - API name:name
-
build
public NodeInfoNetworkInterface build()
Builds aNodeInfoNetworkInterface
.- Specified by:
build
in interfaceObjectBuilder<NodeInfoNetworkInterface>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-