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

Static value Generation1 for VpnGatewayGeneration.

static final VpnGatewayGeneration GENERATION2

Static value Generation2 for VpnGatewayGeneration.

static final VpnGatewayGeneration NONE

Static value None for VpnGatewayGeneration.

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

Static value Generation1 for VpnGatewayGeneration.

GENERATION2

public static final VpnGatewayGeneration GENERATION2

Static value Generation2 for VpnGatewayGeneration.

NONE

public static final VpnGatewayGeneration NONE

Static value None for VpnGatewayGeneration.

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 values()

Gets known VpnGatewayGeneration values.

Returns:

known VpnGatewayGeneration values.

Applies to