@Generated(value="software.amazon.awssdk:codegen") 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 |
UNKNOWN_TO_SDK_VERSION |
VPC_ENDPOINT |
VPC_PEERING_CONNECTION |
| Modifier and Type | Method and Description |
|---|---|
static TargetType |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<TargetType> |
knownValues()
|
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 final TargetType UNKNOWN_TO_SDK_VERSION
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 valuepublic static Set<TargetType> knownValues()
values() to return a Set of all values known to the SDK. This will return
all known enum values except UNKNOWN_TO_SDK_VERSION.Set of known TargetTypesCopyright © 2023. All rights reserved.