com.amazonaws.services.s3.model

## クラス DeleteBucketPolicyRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.s3.model.DeleteBucketPolicyRequest

-     public class DeleteBucketPolicyRequest
      extends AmazonWebServiceRequest

  Deletes the policy associated with the specified bucket. Only the owner of the bucket can delete the bucket policy.

  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.

  関連項目:
    `AmazonS3.deleteBucketPolicy(DeleteBucketPolicyRequest)`

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `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.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### DeleteBucketPolicyRequest

          public DeleteBucketPolicyRequest(java.lang.String bucketName)

      Creates a new request object, ready to be executed to delete the bucket policy of an Amazon S3 bucket.
      パラメータ:
        `bucketName` - The name of the Amazon S3 bucket whose policy is being deleted.

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

      Returns the name of the Amazon S3 bucket whose policy is being deleted.
      戻り値:
        The name of the Amazon S3 bucket whose policy is being deleted.

    - #### setBucketName

          public void setBucketName(java.lang.String bucketName)

      Sets the name of the Amazon S3 bucket whose policy is being deleted.
      パラメータ:
        `bucketName` - The name of the Amazon S3 bucket whose policy is being deleted.

    - #### withBucketName

          public 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.
      パラメータ:
        `bucketName` - The name of the Amazon S3 bucket whose policy is being deleted.
      戻り値:
        The updated request object so that additional method calls can be chained together.