public enum ObjectPermissions extends java.lang.Enum<ObjectPermissions>
| Enum Constant and Description |
|---|
READ
Indicates the grantee has permissions to read the object from the containing bucket
|
READ_ACP
Indicates the grantee has permissions to read the Access control permissions of the
Object in S3
|
WRITE_ACP
Indicates the grantee has permissions to write the Access control permissions of the
Object in S3
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectPermissions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ObjectPermissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectPermissions READ
public static final ObjectPermissions READ_ACP
public static final ObjectPermissions WRITE_ACP
public static ObjectPermissions[] values()
for (ObjectPermissions c : ObjectPermissions.values()) System.out.println(c);
public static ObjectPermissions valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is null