类 GetBucketAclResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.bos.model.BosResponse
-
- com.baidubce.services.bos.model.GetBucketAclResponse
-
- 所有已实现的接口:
Serializable
public class GetBucketAclResponse extends BosResponse
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static intMAX_SUPPORTED_ACL_VERSION-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 GetBucketAclResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Grant>getAccessControlList()Gets the accessControlList of this bucket.GranteegetOwner()Gets the user of this bucket.intgetVersion()Gets the acl version.voidsetAccessControlList(List<Grant> accessControlList)Sets the accessControlList of this bucket.voidsetOwner(Grantee owner)Sets the user of this bucket.voidsetVersion(int version)Sets the acl version.StringtoString()-
从类继承的方法 com.baidubce.services.bos.model.BosResponse
getMetadata
-
-
-
-
字段详细资料
-
MAX_SUPPORTED_ACL_VERSION
public static final int MAX_SUPPORTED_ACL_VERSION
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
getVersion
public int getVersion()
Gets the acl version.- 返回:
- the acl version.
-
setVersion
public void setVersion(int version)
Sets the acl version.- 参数:
version- the acl version
-
getOwner
public Grantee getOwner()
Gets the user of this bucket.- 返回:
- The user of this bucket.
-
setOwner
public void setOwner(Grantee owner)
Sets the user of this bucket.- 参数:
owner- The user of this bucket.
-
getAccessControlList
public List<Grant> getAccessControlList()
Gets the accessControlList of this bucket.- 返回:
- The accessControlList of this bucket.
-
setAccessControlList
public void setAccessControlList(List<Grant> accessControlList)
Sets the accessControlList of this bucket.- 参数:
accessControlList- The accessControlList of this bucket.
-
-