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