|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.s3.model.DeleteBucketRequest
public class DeleteBucketRequest
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.
Constructor Summary | |
---|---|
DeleteBucketRequest(String bucketName)
Constructs a new DeleteBucketRequest ,
ready to be executed to delete the
specified bucket. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteBucketRequest(String bucketName)
DeleteBucketRequest
,
ready to be executed to delete the
specified bucket.
bucketName
- The name of the Amazon S3 bucket to delete.Method Detail |
---|
public void setBucketName(String bucketName)
bucketName
- The name of the Amazon S3 bucket to delete.getBucketName()
public String getBucketName()
setBucketName(String)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |