com.amazonaws.services.s3.model

## クラス GetBucketLocationRequest

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

-     public class GetBucketLocationRequest
      extends AmazonWebServiceRequest

  Provides options for requesting an Amazon S3 bucket's location. You can choose a bucket's location when creating it to ensure that the data stored in your bucket is geographically close to the applications or customers accessing your data.
  関連項目:
    `CreateBucketRequest`

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

    コンストラクタ
    コンストラクタと説明
    `GetBucketLocationRequest(java.lang.String bucketName)` Constructs a new request object to create a new bucket with the specified name.

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getBucketName()` Returns the name of the bucket whose location is being requested.
    `void` | `setBucketName(java.lang.String bucketName)` Sets the name of the bucket whose location is being requested.
    `GetBucketLocationRequest` | `withBucketName(java.lang.String bucketName)` Sets the name of the bucket whose location is being requested, and returns this updated 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`

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

    - #### GetBucketLocationRequest

          public GetBucketLocationRequest(java.lang.String bucketName)

      Constructs a new request object to create a new bucket with the specified name.

      When choosing a bucket name, keep in mind that Amazon S3 bucket names are globally unique.

      パラメータ:
        `bucketName` - The name for the new bucket.

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

      Returns the name of the bucket whose location is being requested.
      戻り値:
        The name of the bucket whose location is being requested.

    - #### setBucketName

          public void setBucketName(java.lang.String bucketName)

      Sets the name of the bucket whose location is being requested.
      パラメータ:
        `bucketName` - The name of the bucket whose location is being requested.

    - #### withBucketName

          public GetBucketLocationRequest withBucketName(java.lang.String bucketName)

      Sets the name of the bucket whose location is being requested, and returns this updated object so that additional method calls can be chained together.
      パラメータ:
        `bucketName` - The name of the bucket whose location is being requested.
      戻り値:
        This updated object, so that additional method calls can be chained together.