public class DefaultRegionFromEndpointResolver extends Object implements RegionFromEndpointResolver
RegionFromEndpointResolverthat only considers what is available in the host name itself.
|Constructor and Description|
|Modifier and Type||Method and Description|
Guess the region of a service, based on its endpoint/hostname.
public String guessRegionFromEndpoint(String host, String serviceHint)
host- The hostname or endpoint of a service.
serviceHint- The endpoint prefix of the service, or null if it's not known.