public enum CannedAccessControlList extends Enum<CannedAccessControlList>
Enum Constant and Description |
---|
AUTHENTICATED_READ |
BUCKET_OWNER_FULL_CONTROL |
BUCKET_OWNER_READ |
LOG_DELIVERY_WRITE |
PRIVATE |
PUBLIC_READ |
PUBLIC_READ_WRITE |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
String |
toValue() |
static CannedAccessControlList |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CannedAccessControlList[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CannedAccessControlList PRIVATE
public static final CannedAccessControlList PUBLIC_READ
public static final CannedAccessControlList PUBLIC_READ_WRITE
public static final CannedAccessControlList AUTHENTICATED_READ
public static final CannedAccessControlList LOG_DELIVERY_WRITE
public static final CannedAccessControlList BUCKET_OWNER_READ
public static final CannedAccessControlList BUCKET_OWNER_FULL_CONTROL
public static CannedAccessControlList[] values()
for (CannedAccessControlList c : CannedAccessControlList.values()) System.out.println(c);
public static CannedAccessControlList 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<CannedAccessControlList>
public String toValue()
Copyright © 2010–2021. All rights reserved.