|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CannedAccessControlList>
com.baidubce.services.bos.model.CannedAccessControlList
public enum CannedAccessControlList
Specifies constants defining a canned access control list.
Canned access control lists are commonly used access control lists (ACL) that can be used as a shortcut when applying an access control list to Baidu Bos buckets. Only a few commonly used configurations are available, but they offer an alternative to manually creating a custom ACL.
| Enum Constant Summary | |
|---|---|
Private
This is the default access control policy for any new buckets or objects. |
|
PublicRead
If this policy is used on an object, it can be read from a browser without authentication. |
|
PublicReadWrite
This access policy is not recommended for general use. |
|
| Method Summary | |
|---|---|
String |
toString()
|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CannedAccessControlList Private
public static final CannedAccessControlList PublicRead
public static final CannedAccessControlList PublicReadWrite
| Method Detail |
|---|
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 name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<CannedAccessControlList>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||