Package | Description |
---|---|
com.amazonaws | |
com.amazonaws.partitions | |
com.amazonaws.regions |
Modifier and Type | Method and Description |
---|---|
void |
AmazonWebServiceClient.setRegion(Region region)
An alternative to
AmazonWebServiceClient.setEndpoint(String) , sets the regional
endpoint for this client's service calls. |
<T extends AmazonWebServiceClient> |
AmazonWebServiceClient.withRegion(Region region)
Fluent method for
AmazonWebServiceClient.setRegion(Region) . |
Modifier and Type | Method and Description |
---|---|
Region |
PartitionMetadataProvider.getRegion(String regionName) |
Modifier and Type | Method and Description |
---|---|
List<Region> |
PartitionMetadataProvider.getRegions() |
List<Region> |
PartitionMetadataProvider.getRegionsForService(String serviceName) |
Modifier and Type | Method and Description |
---|---|
static Region |
Regions.getCurrentRegion()
Returns a Region object representing the region the application is
running in, when running in EC2.
|
static Region |
Region.getRegion(Regions region)
Returns the region with the id given, or null if it cannot be found in
the current regions.xml file.
|
Region |
RegionMetadataProvider.getRegion(String regionName)
Returns the region with the name given, if it exists in the metadata
or if it can be derived from the metadata.
|
Region |
InMemoryRegionsProvider.getRegion(String regionName) |
static Region |
RegionUtils.getRegion(String regionName)
Returns the region with the id given, if it exists.
|
Region |
RegionMetadata.getRegion(String name)
Returns the region with the name given, if it exists.
|
Region |
AbstractRegionMetadataProvider.getRegionByEndpoint(String endpoint) |
Region |
RegionMetadataProvider.getRegionByEndpoint(String endpoint)
Deprecated.
sdk no longer holds the complete endpoint for every service in the region.
It now uses the partition metadata to compute the endpoints dynamically for new regions and services.
|
Region |
RegionMetadata.getRegionByEndpoint(String endpoint)
Deprecated.
sdk no longer holds the complete endpoint for every service in the region.
It now uses the partition metadata to compute the endpoints dynamically for new regions and services.
|
Modifier and Type | Method and Description |
---|---|
List<Region> |
RegionMetadataProvider.getRegions()
Returns an immutable list of all regions known to this region metadata
object, in no particular order.
|
List<Region> |
InMemoryRegionsProvider.getRegions() |
static List<Region> |
RegionUtils.getRegions()
Returns a list of the available AWS regions.
|
List<Region> |
RegionMetadata.getRegions()
Returns an immutable list of all regions known to this region metadata
object, in no particular order.
|
List<Region> |
RegionMetadataProvider.getRegionsForService(String serviceName)
Returns a list of the regions that support the service given.
|
List<Region> |
InMemoryRegionsProvider.getRegionsForService(String serviceName) |
static List<Region> |
RegionUtils.getRegionsForService(String serviceAbbreviation)
Returns a list of the regions that support the service given.
|
List<Region> |
RegionMetadata.getRegionsForService(String service)
Returns a list of the regions that support the service given.
|
List<Region> |
RegionMetadataParser.parseRegionMetadata(InputStream input)
Deprecated.
in favor of
RegionMetadataParser.parse(InputStream) |
List<Region> |
RegionMetadataParser.parseRegionMetadata(InputStream input,
boolean endpointVerification)
Deprecated.
in favor of
RegionMetadataParser.parse(InputStream) |
Constructor and Description |
---|
InMemoryRegionsProvider(List<Region> regions) |
RegionMetadata(List<Region> regions)
Creates a new RegionMetadata object from the given list of regions.
|
Copyright © 2016. All rights reserved.