com.baidubce.services.bos.model
Class DeleteBucketLifecycleRequest

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

public class DeleteBucketLifecycleRequest
extends GenericBucketRequest

Provides options for deleting a Bucket Lifecycle.


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

DeleteBucketLifecycleRequest

public DeleteBucketLifecycleRequest()
Constructs a void constructor for DeleteBucketLifecycleRequest.


DeleteBucketLifecycleRequest

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

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

withRequestCredentials

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

withBucketName

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

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


Copyright © 2018. All rights reserved.