public enum CannedAcl extends Enum<CannedAcl>
Modifier and Type | Class and Description |
---|---|
static class |
CannedAcl.CannedAclConverter
XML converter class.
|
Enum Constant and Description |
---|
AUTHENTICATED_READ |
AWS_EXEC_READ |
BUCKET_OWNER_FULL_CONTROL |
BUCKET_OWNER_READ |
PRIVATE |
PUBLIC_READ |
PUBLIC_READ_WRITE |
Modifier and Type | Method and Description |
---|---|
static CannedAcl |
fromString(String cannedAclString)
Returns CannedAcl of given string.
|
String |
toString() |
static CannedAcl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CannedAcl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CannedAcl PRIVATE
public static final CannedAcl PUBLIC_READ
public static final CannedAcl PUBLIC_READ_WRITE
public static final CannedAcl AUTHENTICATED_READ
public static final CannedAcl AWS_EXEC_READ
public static final CannedAcl BUCKET_OWNER_READ
public static final CannedAcl BUCKET_OWNER_FULL_CONTROL
public static CannedAcl[] values()
for (CannedAcl c : CannedAcl.values()) System.out.println(c);
public static CannedAcl 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 null