@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum TargetType extends Enum<TargetType>
Enum Constant and Description |
---|
CARRIER_GATEWAY |
EGRESS_ONLY_INTERNET_GATEWAY |
GATEWAY |
INSTANCE |
LOCAL_GATEWAY |
NAT_GATEWAY |
NETWORK_INTERFACE |
TRANSIT_GATEWAY |
VPC_ENDPOINT |
VPC_PEERING_CONNECTION |
Modifier and Type | Method and Description |
---|---|
static TargetType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static TargetType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetType GATEWAY
public static final TargetType CARRIER_GATEWAY
public static final TargetType INSTANCE
public static final TargetType LOCAL_GATEWAY
public static final TargetType NAT_GATEWAY
public static final TargetType NETWORK_INTERFACE
public static final TargetType VPC_ENDPOINT
public static final TargetType VPC_PEERING_CONNECTION
public static final TargetType EGRESS_ONLY_INTERNET_GATEWAY
public static final TargetType TRANSIT_GATEWAY
public static TargetType[] values()
for (TargetType c : TargetType.values()) System.out.println(c);
public static TargetType 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 nullpublic String toString()
toString
in class Enum<TargetType>
public static TargetType fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.