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