@Beta public enum ContainerAccess extends Enum<ContainerAccess>
Enum Constant and Description |
---|
PRIVATE
Only allow bucket owner to read and write objects.
|
PUBLIC_READ
Allow all users to read objects but only allow owner to write objects.
|
Modifier and Type | Method and Description |
---|---|
static ContainerAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContainerAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContainerAccess PRIVATE
public static final ContainerAccess PUBLIC_READ
public static ContainerAccess[] values()
for (ContainerAccess c : ContainerAccess.values()) System.out.println(c);
public static ContainerAccess 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 nullCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.