IpFamily Class

public final class IpFamily
extends ExpandableStringEnum<IpFamily>

The IP version to use for cluster networking and IP assignment.

Field Summary

Modifier and Type Field and Description
static final IpFamily IPV4

Static value IPv4 for IpFamily.

static final IpFamily IPV6

Static value IPv6 for IpFamily.

Constructor Summary

Constructor Description
IpFamily()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpFamily value.

Method Summary

Modifier and Type Method and Description
static IpFamily fromString(String name)

Creates or finds a IpFamily from its string representation.

static Collection<IpFamily> values()

Gets known IpFamily values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

IPV4

public static final IpFamily IPV4

Static value IPv4 for IpFamily.

IPV6

public static final IpFamily IPV6

Static value IPv6 for IpFamily.

Constructor Details

IpFamily

@Deprecated
public IpFamily()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpFamily value.

Method Details

fromString

public static IpFamily fromString(String name)

Creates or finds a IpFamily from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IpFamily.

values

public static Collection values()

Gets known IpFamily values.

Returns:

known IpFamily values.

Applies to