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