public final class Region
extends java.lang.Object
| 修飾子とタイプ | メソッドと説明 |
|---|---|
<T extends AmazonWebServiceClient> |
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() |
public static Region getRegion(Regions region)
public java.lang.String getName()
public java.lang.String getServiceEndpoint(java.lang.String serviceName)
ServiceAbbreviationspublic boolean isServiceSupported(java.lang.String serviceName)
ServiceAbbreviationspublic boolean hasHttpsEndpoint(java.lang.String serviceName)
ServiceAbbreviationspublic boolean hasHttpEndpoint(java.lang.String serviceName)
ServiceAbbreviationspublic <T extends AmazonWebServiceClient> T createClient(java.lang.Class<T> serviceClass, AWSCredentialsProvider credentials, ClientConfiguration config)
serviceClass - The service client class to instantiate, e.g. AmazonS3Client.classcredentials - The credentials provider to use, or null for the default
credentials providerconfig - The configuration to use, or null for the default
configurationServiceAbbreviationspublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Objectpublic int hashCode()
hashCode クラス内 java.lang.Objectpublic java.lang.String toString()
toString クラス内 java.lang.Object