public enum ExtensionBucketPermissionEnum extends Enum<ExtensionBucketPermissionEnum>
Enum Constant and Description |
---|
GRANT_FULL_CONTROL
Grant full control permissions to users in the domain of the specified ID.
|
GRANT_FULL_CONTROL_DELIVERED
Grant the full control permission to all users belonging to the specified "domainId".
|
GRANT_READ
Grant the read permission to all users belonging to the specified "domainId" for listing objects, listing multipart uploads, listing bucket versions, and obtaining bucket metadata.
|
GRANT_READ_ACP
Grant the "READ_ACP" permission to all users belonging to the specified "domainId" to obtain ACLs of objects.
|
GRANT_READ_DELIVERED
Grant the read permission to all users belonging to the specified "domainId".
|
GRANT_WRITE
Grant the write permission to all users belonging to the specified "domainId" so that the users can create, delete, overwrite objects in buckets, as well as initialize, upload, copy, and combine parts and cancel multipart uploads.
|
GRANT_WRITE_ACP
Grant the "WRITE_ACP" permission to all users belonging to the specified "domainId" to modify bucket ACLs.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
static ExtensionBucketPermissionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtensionBucketPermissionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensionBucketPermissionEnum GRANT_READ
public static final ExtensionBucketPermissionEnum GRANT_WRITE
public static final ExtensionBucketPermissionEnum GRANT_READ_ACP
public static final ExtensionBucketPermissionEnum GRANT_WRITE_ACP
public static final ExtensionBucketPermissionEnum GRANT_FULL_CONTROL
public static final ExtensionBucketPermissionEnum GRANT_READ_DELIVERED
public static final ExtensionBucketPermissionEnum GRANT_FULL_CONTROL_DELIVERED
public static ExtensionBucketPermissionEnum[] values()
for (ExtensionBucketPermissionEnum c : ExtensionBucketPermissionEnum.values()) System.out.println(c);
public static ExtensionBucketPermissionEnum 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 getCode()
Copyright © 2019. All rights reserved.