Class NodeInfoNetworkInterface.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoNetworkInterface.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoNetworkInterface.Builder
- All Implemented Interfaces:
WithJson<NodeInfoNetworkInterface.Builder>
,ObjectBuilder<NodeInfoNetworkInterface>
- Enclosing class:
- NodeInfoNetworkInterface
public static class NodeInfoNetworkInterface.Builder
extends WithJsonObjectBuilderBase<NodeInfoNetworkInterface.Builder>
implements ObjectBuilder<NodeInfoNetworkInterface>
Builder for
NodeInfoNetworkInterface
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRequired - API name:address
build()
Builds aNodeInfoNetworkInterface
.macAddress
(String value) Required - API name:mac_address
Required - API name:name
protected NodeInfoNetworkInterface.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Required - API name:address
-
macAddress
Required - API name:mac_address
-
name
Required - API name:name
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<NodeInfoNetworkInterface.Builder>
-
build
Builds aNodeInfoNetworkInterface
.- Specified by:
build
in interfaceObjectBuilder<NodeInfoNetworkInterface>
- Throws:
NullPointerException
- if some of the required fields are null.
-