com.netease.cloud.services.nos.model
public class DeleteBucketRequest extends WebServiceRequest
Provides options for deleting a specified bucket. buckets can only be deleted when empty.
Note: When attempting to delete a bucket that does not exist, returns a success message, not an error message.
logID, logSeq
Constructor and Description |
---|
DeleteBucketRequest(String bucketName)
Constructs a new
DeleteBucketRequest , ready to be executed to
delete the specified bucket. |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Gets the name of the bucket to delete.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket to delete.
|
addSpecialHeader, copyPrivateRequestParameters, getAndIncrementLogSeq, getLogID, getLogSeq, getRequestClientOptions, getRequestCredentials, getToken, needSetLogInfo, setLogID, setLogSeq, setRequestCredentials, setToken
public DeleteBucketRequest(String bucketName)
DeleteBucketRequest
, ready to be executed to
delete the specified bucket.bucketName
- The name of the bucket to delete.public void setBucketName(String bucketName)
bucketName
- The name of the bucket to delete.getBucketName()
public String getBucketName()
setBucketName(String)
Copyright © 2017. All Rights Reserved.