com.baidubce.services.bos.model
Class DeleteBucketCopyrightProtectionRequest

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

public class DeleteBucketCopyrightProtectionRequest
extends GenericBucketRequest

Provides options for deleting a Bucket CopyrightProtection


Constructor Summary
DeleteBucketCopyrightProtectionRequest()
          Constructs a void constructor for DeleteBucketCopyrightProtectionRequest.
DeleteBucketCopyrightProtectionRequest(String bucketName)
          Constructs a DeleteBucketCopyrightProtectionRequest, ready to be executed to delete the specified Bucket CopyrightProtection.
 
Method Summary
 DeleteBucketCopyrightProtectionRequest withBucketName(String bucketName)
          Sets the name of the Baidu Bos bucket to delete Bucket CopyrightProtection.
 DeleteBucketCopyrightProtectionRequest withRequestCredentials(BceCredentials credentials)
           
 
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

DeleteBucketCopyrightProtectionRequest

public DeleteBucketCopyrightProtectionRequest()
Constructs a void constructor for DeleteBucketCopyrightProtectionRequest.


DeleteBucketCopyrightProtectionRequest

public DeleteBucketCopyrightProtectionRequest(String bucketName)
Constructs a DeleteBucketCopyrightProtectionRequest, ready to be executed to delete the specified Bucket CopyrightProtection.

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

withBucketName

public DeleteBucketCopyrightProtectionRequest withBucketName(String bucketName)
Sets the name of the Baidu Bos bucket to delete Bucket CopyrightProtection.

Specified by:
withBucketName in class GenericBucketRequest
Parameters:
bucketName - The name of the Baidu Bos bucket to delete Bucket CopyrightProtection.

withRequestCredentials

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


Copyright © 2020. All rights reserved.