com.amazonaws.services.s3.model

## クラス SetBucketAclRequest

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

-     public class SetBucketAclRequest
      extends AmazonWebServiceRequest

  Request object containing all the options for setting a bucket's Access Control List (ACL).

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

    コンストラクタ
    コンストラクタと説明
    `SetBucketAclRequest(java.lang.String bucketName, AccessControlList acl)` Constructs a new SetBucketAclRequest object, ready to set the specified ACL on the specified bucket when this request is executed.
    `SetBucketAclRequest(java.lang.String bucketName, CannedAccessControlList acl)` Constructs a new SetBucketAclRequest object, ready to set the specified canned ACL on the specified bucket when this request is executed.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `AccessControlList` | `getAcl()` Returns the custom ACL to be applied to the specified bucket when this request is executed.
    `java.lang.String` | `getBucketName()` Returns the name of the bucket whose ACL will be modified by this request when executed.
    `CannedAccessControlList` | `getCannedAcl()` Returns the canned ACL to be applied to the specified bucket when this request is executed.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### SetBucketAclRequest

          public SetBucketAclRequest(java.lang.String bucketName,
                             AccessControlList acl)

      Constructs a new SetBucketAclRequest object, ready to set the specified ACL on the specified bucket when this request is executed.
      パラメータ:
        `bucketName` - The name of the bucket whose ACL will be set by this request.
        `acl` - The custom Access Control List containing the access rules to apply to the specified bucket when this request is executed.

    - #### SetBucketAclRequest

          public SetBucketAclRequest(java.lang.String bucketName,
                             CannedAccessControlList acl)

      Constructs a new SetBucketAclRequest object, ready to set the specified canned ACL on the specified bucket when this request is executed.
      パラメータ:
        `bucketName` - The name of the bucket whose ACL will be set by this request.
        `acl` - The Canned Access Control List to apply to the specified bucket when this request is executed.

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

      Returns the name of the bucket whose ACL will be modified by this request when executed.
      戻り値:
        The name of the bucket whose ACL will be modified by this request when executed.

    - #### getAcl

          public AccessControlList getAcl()

      Returns the custom ACL to be applied to the specified bucket when this request is executed. A request can use either a custom ACL or a canned ACL, but not both.
      戻り値:
        The custom ACL to be applied to the specified bucket when this request is executed.

    - #### getCannedAcl

          public CannedAccessControlList getCannedAcl()

      Returns the canned ACL to be applied to the specified bucket when this request is executed. A request can use either a custom ACL or a canned ACL, but not both.
      戻り値:
        The canned ACL to be applied to the specified bucket when this request is executed.