PublicIpType Class

public final class PublicIpType
extends ExpandableStringEnum<PublicIpType>

Indicates what public IP type to create - IPv4 (default), or DualStack (both IPv4 and IPv6).

Field Summary

Modifier and Type Field and Description
static final PublicIpType DUAL_STACK

Static value DualStack for PublicIpType.

static final PublicIpType IPV4

Static value IPv4 for PublicIpType.

Constructor Summary

Constructor Description
PublicIpType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicIpType value.

Method Summary

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

Creates or finds a PublicIpType from its string representation.

static Collection<PublicIpType> values()

Gets known PublicIpType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DUAL_STACK

public static final PublicIpType DUAL_STACK

Static value DualStack for PublicIpType.

IPV4

public static final PublicIpType IPV4

Static value IPv4 for PublicIpType.

Constructor Details

PublicIpType

@Deprecated
public PublicIpType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicIpType value.

Method Details

fromString

public static PublicIpType fromString(String name)

Creates or finds a PublicIpType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublicIpType.

values

public static Collection values()

Gets known PublicIpType values.

Returns:

known PublicIpType values.

Applies to