com.amazonaws.regions

## クラス Region

- java.lang.Object
- - com.amazonaws.regions.Region

-     public final class Region
      extends java.lang.Object

  Metadata for an AWS region, including its name and what services are available in it.

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `<T extends AmazonWebServiceClient> T` | `createClient(java.lang.Class<T> serviceClass, AWSCredentialsProvider credentials, ClientConfiguration config)` Creates a new service client of the class given and configures it.
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getName()` The unique system ID for this region; ex: us-east-1.
    `static Region` | `getRegion(Regions region)` Returns the region with the id given, or null if it cannot be found in the current regions.xml file.
    `java.lang.String` | `getServiceEndpoint(java.lang.String serviceName)` Returns the endpoint for the service given.
    `int` | `hashCode()`
    `boolean` | `hasHttpEndpoint(java.lang.String serviceName)` Returns whether the given service support the http protocol in this region.
    `boolean` | `hasHttpsEndpoint(java.lang.String serviceName)` Returns whether the given service support the https protocol in this region.
    `boolean` | `isServiceSupported(java.lang.String serviceName)` Returns whether the given service is supported in this region.
    `java.lang.String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### メソッドの詳細

    - #### getRegion

          public static Region getRegion(Regions region)

      Returns the region with the id given, or null if it cannot be found in the current regions.xml file.

    - #### getName

          public java.lang.String getName()

      The unique system ID for this region; ex: us-east-1.
      戻り値:
        The unique system ID for this region.

    - #### getServiceEndpoint

          public java.lang.String getServiceEndpoint(java.lang.String serviceName)

      Returns the endpoint for the service given.
      関連項目:
        `ServiceAbbreviations`

    - #### isServiceSupported

          public boolean isServiceSupported(java.lang.String serviceName)

      Returns whether the given service is supported in this region.
      関連項目:
        `ServiceAbbreviations`

    - #### hasHttpsEndpoint

          public boolean hasHttpsEndpoint(java.lang.String serviceName)

      Returns whether the given service support the https protocol in this region.
      関連項目:
        `ServiceAbbreviations`

    - #### hasHttpEndpoint

          public boolean hasHttpEndpoint(java.lang.String serviceName)

      Returns whether the given service support the http protocol in this region.
      関連項目:
        `ServiceAbbreviations`

    - #### createClient

          public <T extends AmazonWebServiceClient> T createClient(java.lang.Class<T> serviceClass,
                                                          AWSCredentialsProvider credentials,
                                                          ClientConfiguration config)

      Creates a new service client of the class given and configures it. If credentials or config are null, defaults will be used.
      パラメータ:
        `serviceClass` - The service client class to instantiate, e.g. AmazonS3Client.class
        `credentials` - The credentials provider to use, or null for the default credentials provider
        `config` - The configuration to use, or null for the default configuration
      関連項目:
        `ServiceAbbreviations`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### toString

          public java.lang.String toString()

      オーバーライド:
        `toString` クラス内 `java.lang.Object`