com.amazonaws.services.s3

## クラス S3ClientOptions

- java.lang.Object
- - com.amazonaws.services.s3.S3ClientOptions

-     public class S3ClientOptions
      extends java.lang.Object

  S3 client configuration options such as the request access style.

- - ### フィールドの概要

    フィールド
    修飾子とタイプ | フィールドと説明
    --- | ---
    `static boolean` | `DEFAULT_PATH_STYLE_ACCESS` The default setting for use of path-style access

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

    コンストラクタ
    コンストラクタと説明
    `S3ClientOptions()`
    `S3ClientOptions(S3ClientOptions other)`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `isPathStyleAccess()` Returns whether the client uses path-style access for all requests.
    `void` | `setPathStyleAccess(boolean pathStyleAccess)` Configures the client to use path-style access for all requests.
    `S3ClientOptions` | `withPathStyleAccess(boolean pathStyleAccess)` Configures the client to use path-style access for all requests.

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

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

- - ### フィールドの詳細

    - #### DEFAULT_PATH_STYLE_ACCESS

          public static final boolean DEFAULT_PATH_STYLE_ACCESS

      The default setting for use of path-style access
      関連項目:
        定数フィールド値

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

    - #### S3ClientOptions

          public S3ClientOptions()

    - #### S3ClientOptions

          public S3ClientOptions(S3ClientOptions other)

  - ### メソッドの詳細

    - #### isPathStyleAccess

          public boolean isPathStyleAccess()

      Returns whether the client uses path-style access for all requests.

      Amazon S3 supports virtual-hosted-style and path-style access in all Regions. The path-style syntax, however, requires that you use the region-specific endpoint when attempting to access a bucket.

      The default behaviour is to detect which access style to use based on the configured endpoint (an IP will result in path-style access) and the bucket being accessed (some buckets are not valid DNS names). Setting this flag will result in path-style access being used for all requests.

      戻り値:
        True is the client should always use path-style access

    - #### setPathStyleAccess

          public void setPathStyleAccess(boolean pathStyleAccess)

      Configures the client to use path-style access for all requests.

      Amazon S3 supports virtual-hosted-style and path-style access in all Regions. The path-style syntax, however, requires that you use the region-specific endpoint when attempting to access a bucket.

      The default behaviour is to detect which access style to use based on the configured endpoint (an IP will result in path-style access) and the bucket being accessed (some buckets are not valid DNS names). Setting this flag will result in path-style access being used for all requests.

      パラメータ:
        `pathStyleAccess` - True to always use path-style access.

    - #### withPathStyleAccess

          public S3ClientOptions withPathStyleAccess(boolean pathStyleAccess)

      Configures the client to use path-style access for all requests.

      Amazon S3 supports virtual-hosted-style and path-style access in all Regions. The path-style syntax, however, requires that you use the region-specific endpoint when attempting to access a bucket.

      The default behaviour is to detect which access style to use based on the configured endpoint (an IP will result in path-style access) and the bucket being accessed (some buckets are not valid DNS names). Setting this flag will result in path-style access being used for all requests.

      パラメータ:
        `pathStyleAccess` - True to always use path-style access.
      戻り値:
        The updated S3ClientOptions object with the new path-style access setting.