com.baidubce.services.bos.model
Class DeleteBucketStaticWebsiteRequest

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

public class DeleteBucketStaticWebsiteRequest
extends GenericBucketRequest

Provides options for deleting a Bucket staticwebsite.


Constructor Summary
DeleteBucketStaticWebsiteRequest()
           
DeleteBucketStaticWebsiteRequest(String bucketName)
          Constructs DeleteBucketStaticWebsiteRequest, ready to be executed to delete the specified Bucket StaticWebsite
 
Method Summary
 DeleteBucketStaticWebsiteRequest withBucketName(String bucketName)
          Sets the name of the Baidu Bos bucket to delete Bucket StaticWebsite.
 DeleteBucketStaticWebsiteRequest 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

DeleteBucketStaticWebsiteRequest

public DeleteBucketStaticWebsiteRequest()

DeleteBucketStaticWebsiteRequest

public DeleteBucketStaticWebsiteRequest(String bucketName)
Constructs DeleteBucketStaticWebsiteRequest, ready to be executed to delete the specified Bucket StaticWebsite

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

withBucketName

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

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

withRequestCredentials

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


Copyright © 2020. All rights reserved.