com.baidubce.services.bos.model
Class GetBucketAclResponse

java.lang.Object
  extended by com.baidubce.model.AbstractBceResponse
      extended by com.baidubce.services.bos.model.BosResponse
          extended by com.baidubce.services.bos.model.GetBucketAclResponse
All Implemented Interfaces:
Serializable

public class GetBucketAclResponse
extends BosResponse

See Also:
Serialized Form

Field Summary
static int MAX_SUPPORTED_ACL_VERSION
           
 
Fields inherited from class com.baidubce.model.AbstractBceResponse
metadata
 
Constructor Summary
GetBucketAclResponse()
           
 
Method Summary
 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()
           
 
Methods inherited from class com.baidubce.services.bos.model.BosResponse
getMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_SUPPORTED_ACL_VERSION

public static final int MAX_SUPPORTED_ACL_VERSION
See Also:
Constant Field Values
Constructor Detail

GetBucketAclResponse

public GetBucketAclResponse()
Method Detail

getVersion

public int getVersion()
Gets the acl version.

Returns:
the acl version.

setVersion

public void setVersion(int version)
Sets the acl version.

Parameters:
version - the acl version

getOwner

public Grantee getOwner()
Gets the user of this bucket.

Returns:
The user of this bucket.

setOwner

public void setOwner(Grantee owner)
Sets the user of this bucket.

Parameters:
owner - The user of this bucket.

getAccessControlList

public List<Grant> getAccessControlList()
Gets the accessControlList of this bucket.

Returns:
The accessControlList of this bucket.

setAccessControlList

public void setAccessControlList(List<Grant> accessControlList)
Sets the accessControlList of this bucket.

Parameters:
accessControlList - The accessControlList of this bucket.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2018. All rights reserved.