com.baidubce.services.bos.model
Class DeleteBucketEncryptionRequest

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

public class DeleteBucketEncryptionRequest
extends GenericBucketRequest

Provides options for deleting a Bucket Encryption.


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

DeleteBucketEncryptionRequest

public DeleteBucketEncryptionRequest()
Constructs a void constructor for DeleteBucketEncryptionRequest.


DeleteBucketEncryptionRequest

public DeleteBucketEncryptionRequest(String bucketName)
Constructs a new DeleteBucketEncryptionRequest, ready to be executed to delete the specified Bucket Encryption.

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

withBucketName

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

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

withRequestCredentials

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


Copyright © 2020. All rights reserved.