public enum GranteeType extends Enum<GranteeType>
Modifier and Type | Class and Description |
---|---|
static class |
GranteeType.GranteeTypeConverter
XML converter class.
|
Enum Constant and Description |
---|
AMAZON_CUSTOMER_BY_EMAIL |
CANONICAL_USER |
GROUP |
Modifier and Type | Method and Description |
---|---|
static GranteeType |
fromString(String granteeTypeString)
Returns GranteeType of given string.
|
String |
toString() |
static GranteeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GranteeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GranteeType CANONICAL_USER
public static final GranteeType AMAZON_CUSTOMER_BY_EMAIL
public static final GranteeType GROUP
public static GranteeType[] values()
for (GranteeType c : GranteeType.values()) System.out.println(c);
public static GranteeType 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<GranteeType>
public static GranteeType fromString(String granteeTypeString)