@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.107Z") @Stability(value=Experimental) public enum NatTrafficDirection extends Enum<NatTrafficDirection>
| Enum Constant and Description |
|---|
INBOUND_AND_OUTBOUND
(experimental) Allow all outbound and inbound traffic.
|
NONE
(experimental) Disallow all outbound and inbound traffic.
|
OUTBOUND_ONLY
(experimental) Allow all outbound traffic and disallow all inbound traffic.
|
| Modifier and Type | Method and Description |
|---|---|
static NatTrafficDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NatTrafficDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final NatTrafficDirection OUTBOUND_ONLY
@Stability(value=Experimental) public static final NatTrafficDirection INBOUND_AND_OUTBOUND
@Stability(value=Experimental) public static final NatTrafficDirection NONE
public static NatTrafficDirection[] values()
for (NatTrafficDirection c : NatTrafficDirection.values()) System.out.println(c);
public static NatTrafficDirection valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.