Class NodeInfoSettingsNetwork.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoSettingsNetwork.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoSettingsNetwork.Builder
- All Implemented Interfaces:
WithJson<NodeInfoSettingsNetwork.Builder>,ObjectBuilder<NodeInfoSettingsNetwork>
- Enclosing class:
- NodeInfoSettingsNetwork
public static class NodeInfoSettingsNetwork.Builder
extends WithJsonObjectBuilderBase<NodeInfoSettingsNetwork.Builder>
implements ObjectBuilder<NodeInfoSettingsNetwork>
Builder for
NodeInfoSettingsNetwork.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodeInfoSettingsNetwork.API name:hostAPI name:hostprotected NodeInfoSettingsNetwork.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
host
API name:hostAdds all elements of
listtohost. -
host
API name:hostAdds one or more values to
host. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeInfoSettingsNetwork.Builder>
-
build
Builds aNodeInfoSettingsNetwork.- Specified by:
buildin interfaceObjectBuilder<NodeInfoSettingsNetwork>- Throws:
NullPointerException- if some of the required fields are null.
-