com.baidubce.services.bos.model
Class DeleteObjectAclRequest

java.lang.Object
  extended by com.baidubce.model.AbstractBceRequest
      extended by com.baidubce.services.bos.model.GenericBucketRequest
          extended by com.baidubce.services.bos.model.GenericObjectRequest
              extended by com.baidubce.services.bos.model.DeleteObjectAclRequest

public class DeleteObjectAclRequest
extends GenericObjectRequest

Provides options for deleting a object acl.


Constructor Summary
DeleteObjectAclRequest()
          Constructs a void Constructor for DeleteObjectAclRequest.
DeleteObjectAclRequest(String bucketName, String key)
          Constructs a new DeleteObjectAclRequest, ready to be executed to delete the specified object acl.
 
Method Summary
 DeleteObjectAclRequest withBucketName(String bucketName)
           
 DeleteObjectAclRequest withKey(String key)
           
 DeleteObjectAclRequest withRequestCredentials(BceCredentials credentials)
           
 
Methods inherited from class com.baidubce.services.bos.model.GenericObjectRequest
getKey, setKey
 
Methods inherited from class com.baidubce.services.bos.model.GenericBucketRequest
getBucketName, setBucketName
 
Methods inherited from class com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeleteObjectAclRequest

public DeleteObjectAclRequest()
Constructs a void Constructor for DeleteObjectAclRequest.


DeleteObjectAclRequest

public DeleteObjectAclRequest(String bucketName,
                              String key)
Constructs a new DeleteObjectAclRequest, ready to be executed to delete the specified object acl.

Parameters:
bucketName - The name of the Baidu Bos bucket to delete object acl.
Method Detail

withRequestCredentials

public DeleteObjectAclRequest withRequestCredentials(BceCredentials credentials)
Specified by:
withRequestCredentials in class AbstractBceRequest

withBucketName

public DeleteObjectAclRequest withBucketName(String bucketName)
Specified by:
withBucketName in class GenericBucketRequest

withKey

public DeleteObjectAclRequest withKey(String key)
Specified by:
withKey in class GenericObjectRequest


Copyright © 2018. All rights reserved.