public class DeleteBucketPolicyRequest extends AmazonWebServiceRequest
Bucket policies provide access control management at the bucket level for both the bucket resource and contained object resources. Only one policy can be specified per-bucket.
See the Amazon S3 developer guide for more information on forming bucket polices.
| コンストラクタと説明 |
|---|
DeleteBucketPolicyRequest(java.lang.String bucketName)
Creates a new request object, ready to be executed to delete the bucket
policy of an Amazon S3 bucket.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String |
getBucketName()
Returns the name of the Amazon S3 bucket whose policy is being deleted.
|
void |
setBucketName(java.lang.String bucketName)
Sets the name of the Amazon S3 bucket whose policy is being deleted.
|
DeleteBucketPolicyRequest |
withBucketName(java.lang.String bucketName)
Sets the name of the Amazon S3 bucket whose policy is being deleted, and
returns the updated request object so that additional method calls can be
chained together.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic DeleteBucketPolicyRequest(java.lang.String bucketName)
bucketName - The name of the Amazon S3 bucket whose policy is being
deleted.public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName - The name of the Amazon S3 bucket whose policy is being
deleted.public DeleteBucketPolicyRequest withBucketName(java.lang.String bucketName)
bucketName - The name of the Amazon S3 bucket whose policy is being
deleted.