VpnNatRuleMode Class

public final class VpnNatRuleMode
extends ExpandableStringEnum<VpnNatRuleMode>

The Source NAT direction of a VPN NAT.

Field Summary

Modifier and Type Field and Description
static final VpnNatRuleMode EGRESS_SNAT

Static value EgressSnat for VpnNatRuleMode.

static final VpnNatRuleMode INGRESS_SNAT

Static value IngressSnat for VpnNatRuleMode.

Constructor Summary

Constructor Description
VpnNatRuleMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnNatRuleMode value.

Method Summary

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

Creates or finds a VpnNatRuleMode from its string representation.

static Collection<VpnNatRuleMode> values()

Gets known VpnNatRuleMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

EGRESS_SNAT

public static final VpnNatRuleMode EGRESS_SNAT

Static value EgressSnat for VpnNatRuleMode.

INGRESS_SNAT

public static final VpnNatRuleMode INGRESS_SNAT

Static value IngressSnat for VpnNatRuleMode.

Constructor Details

VpnNatRuleMode

@Deprecated
public VpnNatRuleMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of VpnNatRuleMode value.

Method Details

fromString

public static VpnNatRuleMode fromString(String name)

Creates or finds a VpnNatRuleMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding VpnNatRuleMode.

values

public static Collection values()

Gets known VpnNatRuleMode values.

Returns:

known VpnNatRuleMode values.

Applies to