Package org.elasticsearch.cluster.node
Class DiscoveryNodeUtils.Builder
java.lang.Object
org.elasticsearch.cluster.node.DiscoveryNodeUtils.Builder
- Enclosing class:
DiscoveryNodeUtils
-
Method Summary
Modifier and TypeMethodDescriptionaddress
(String hostName, String hostAddress, TransportAddress address) address
(TransportAddress address) applySettings
(Settings settings) attributes
(Map<String, String> attributes) build()
ephemeralId
(String ephemeralId) externalId
(String externalId) roles
(Set<DiscoveryNodeRole> roles) version
(VersionInformation versions) version
(BuildVersion version, IndexVersion minIndexVersion, IndexVersion minReadOnlyIndexVersion, IndexVersion maxIndexVersion) Deprecated.version
(Version version, IndexVersion minIndexVersion, IndexVersion maxIndexVersion) Deprecated.
-
Method Details
-
name
-
ephemeralId
-
address
-
address
public DiscoveryNodeUtils.Builder address(String hostName, String hostAddress, TransportAddress address) -
attributes
-
roles
-
version
Deprecated. -
version
@Deprecated public DiscoveryNodeUtils.Builder version(Version version, IndexVersion minIndexVersion, IndexVersion maxIndexVersion) Deprecated. -
version
public DiscoveryNodeUtils.Builder version(BuildVersion version, IndexVersion minIndexVersion, IndexVersion minReadOnlyIndexVersion, IndexVersion maxIndexVersion) -
version
-
externalId
-
applySettings
-
build
-