public class DeleteBucketRequest extends SCSWebServiceRequest
Provides options for deleting a specified bucket. Amazon S3 buckets can only be deleted when empty.
Note: When attempting to delete a bucket that does not exist, Amazon S3 returns a success message, not an error message.
构造器和说明 |
---|
DeleteBucketRequest(String bucketName)
Constructs a new
DeleteBucketRequest ,
ready to be executed to delete the
specified bucket. |
限定符和类型 | 方法和说明 |
---|---|
String |
getBucketName()
Gets the name of the Amazon S3 bucket to delete.
|
void |
setBucketName(String bucketName)
Sets the name of the Amazon S3 bucket to delete.
|
public DeleteBucketRequest(String bucketName)
DeleteBucketRequest
,
ready to be executed to delete the
specified bucket.bucketName
- The name of the Amazon S3 bucket to delete.public void setBucketName(String bucketName)
bucketName
- The name of the Amazon S3 bucket to delete.getBucketName()
public String getBucketName()
setBucketName(String)
Copyright © 2016. All rights reserved.