Class NodeInfoDiscover.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeInfoDiscover.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeInfoDiscover.Builder
- All Implemented Interfaces:
WithJson<NodeInfoDiscover.Builder>,ObjectBuilder<NodeInfoDiscover>
- Enclosing class:
- NodeInfoDiscover
public static class NodeInfoDiscover.Builder extends WithJsonObjectBuilderBase<NodeInfoDiscover.Builder> implements ObjectBuilder<NodeInfoDiscover>
Builder for
NodeInfoDiscover.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeInfoDiscoverbuild()Builds aNodeInfoDiscover.NodeInfoDiscover.BuilderseedHosts(java.lang.String value)Required - API name:seed_hostsprotected NodeInfoDiscover.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
seedHosts
Required - API name:seed_hosts -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeInfoDiscover.Builder>
-
build
Builds aNodeInfoDiscover.- Specified by:
buildin interfaceObjectBuilder<NodeInfoDiscover>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-