VpnGatewayGeneration Class

public final class VpnGatewayGeneration
extends ExpandableStringEnum<VpnGatewayGeneration>

The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.

Field Summary

Modifier and Type Field and Description
static final VpnGatewayGeneration GENERATION1

Generation1.

static final VpnGatewayGeneration GENERATION2

Generation2.

static final VpnGatewayGeneration NONE

None.

Constructor Summary

Constructor Description
VpnGatewayGeneration()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnGatewayGeneration value.

Method Summary

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

Creates or finds a VpnGatewayGeneration from its string representation.

static Collection<VpnGatewayGeneration> values()

Gets known VpnGatewayGeneration values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GENERATION1

public static final VpnGatewayGeneration GENERATION1

Generation1.

GENERATION2

public static final VpnGatewayGeneration GENERATION2

Generation2.

NONE

public static final VpnGatewayGeneration NONE

None.

Constructor Details

VpnGatewayGeneration

@Deprecated
public VpnGatewayGeneration()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnGatewayGeneration value.

Method Details

fromString

public static VpnGatewayGeneration fromString(String name)

Creates or finds a VpnGatewayGeneration from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VpnGatewayGeneration.

values

public static Collection<VpnGatewayGeneration> values()

Gets known VpnGatewayGeneration values.

Returns:

known VpnGatewayGeneration values.

Applies to