public class AwsHostNameUtils extends Object
| Constructor and Description |
|---|
AwsHostNameUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
parseRegionName(String host,
String serviceHint)
Attempts to parse the region name from an endpoint based on conventions
about the endpoint format.
|
static String |
parseServiceName(URI endpoint)
Parses the service name from an endpoint.
|
public static String parseRegionName(String host, String serviceHint)
host - the hostname to parseserviceHint - an optional hint about the service for the endpointCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.