com.baidubce.services.bos.model
Class GetObjectAclResponse

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

public class GetObjectAclResponse
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
GetObjectAclResponse()
           
 
Method Summary
 List<Grant> getAccessControlList()
          Gets the accessControlList of this bucket/object.
 int getVersion()
          Gets the acl version.
 void setAccessControlList(List<Grant> accessControlList)
          Sets the accessControlList of this bucket/object.
 void setVersion(int version)
          Sets the acl version.
 
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, toString, wait, wait, wait
 

Field Detail

MAX_SUPPORTED_ACL_VERSION

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

GetObjectAclResponse

public GetObjectAclResponse()
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

getAccessControlList

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

Returns:
The accessControlList of this bucket/object.

setAccessControlList

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

Parameters:
accessControlList - The accessControlList of this bucket/object.


Copyright © 2018. All rights reserved.