public abstract class AbstractRegionMetadataProvider extends Object implements RegionMetadataProvider
RegionMetadataProvider
Constructor and Description |
---|
AbstractRegionMetadataProvider() |
Modifier and Type | Method and Description |
---|---|
protected static String |
getHost(String endpoint)
Parse the host portion out of an endpoint (which may or may not
contain a scheme).
|
Region |
getRegionByEndpoint(String endpoint)
Searches through all known regions to find one with any service at the
specified endpoint.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRegion, getRegions, getRegionsForService, tryGetRegionByEndpointDnsSuffix, tryGetRegionByExplicitEndpoint
public Region getRegionByEndpoint(String endpoint)
RegionMetadataProvider
getRegionByEndpoint
in interface RegionMetadataProvider
endpoint
- The endpoint for any service residing in the desired region.Copyright © 2024. All rights reserved.