public class GetBucketAclResponse extends BosResponse
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_SUPPORTED_ACL_VERSION |
metadata| Constructor and Description |
|---|
GetBucketAclResponse() |
| Modifier and Type | Method and Description |
|---|---|
List<Grant> |
getAccessControlList()
Gets the accessControlList of this bucket.
|
Grantee |
getOwner()
Gets the user of this bucket.
|
int |
getVersion()
Gets the acl version.
|
void |
setAccessControlList(List<Grant> accessControlList)
Sets the accessControlList of this bucket.
|
void |
setOwner(Grantee owner)
Sets the user of this bucket.
|
void |
setVersion(int version)
Sets the acl version.
|
String |
toString() |
getMetadatapublic static final int MAX_SUPPORTED_ACL_VERSION
public int getVersion()
public void setVersion(int version)
version - the acl versionpublic Grantee getOwner()
public void setOwner(Grantee owner)
owner - The user of this bucket.public List<Grant> getAccessControlList()
public void setAccessControlList(List<Grant> accessControlList)
accessControlList - The accessControlList of this bucket.Copyright © 2023. All rights reserved.