public class PartitionRegionImpl extends Object implements RegionImpl
| Constructor and Description |
|---|
PartitionRegionImpl(String region,
Partition p) |
| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAvailableEndpoints()
Returns an immutable collection of all the endpoints available in the
region
metadata.
|
String |
getDomain()
Returns the domain for this region; ex: "amazonaws.com".
|
String |
getName()
The unique system ID for this region; ex: "us-east-1".
|
String |
getPartition()
Returns the partition this region is in.
|
String |
getServiceEndpoint(String serviceName)
Returns the endpoint for the given service.
|
boolean |
hasHttpEndpoint(String serviceName)
Returns true if the service is explicitly enabled for http in this
region or a service is partition wide enabled.
|
boolean |
hasHttpsEndpoint(String serviceName)
Returns true if the service is explicitly enabled for https in this
region or a service is partition wide enabled.
|
boolean |
isServiceSupported(String serviceName)
Returns true if the service is explicitly enabled for a region or a
service is partition wide enabled.
|
public String getName()
RegionImplgetName in interface RegionImplpublic String getDomain()
RegionImplgetDomain in interface RegionImplpublic String getPartition()
RegionImplgetPartition in interface RegionImplpublic String getServiceEndpoint(String serviceName)
getServiceEndpoint in interface RegionImplServiceAbbreviationspublic boolean isServiceSupported(String serviceName)
isServiceSupported in interface RegionImplServiceAbbreviationspublic boolean hasHttpsEndpoint(String serviceName)
hasHttpsEndpoint in interface RegionImplServiceAbbreviationspublic boolean hasHttpEndpoint(String serviceName)
hasHttpEndpoint in interface RegionImplServiceAbbreviationspublic Collection<String> getAvailableEndpoints()
RegionImplgetAvailableEndpoints in interface RegionImplCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.