@Test public void guessRegionForHostname_ipAddress() { assertNull(guessRegionNameForEndpoint("http: assertNull(guessRegionNameForEndpoint("http: assertNull(guessRegionNameForEndpoint("http: assertNull(guessRegionNameForEndpoint("http: assertNull(guessRegionNameForEndpoint("localhost")); assertNull(guessRegionNameForEndpoint("localhost:1234")); assertNull(guessRegionNameForEndpoint("127.0.0.1")); assertNull(guessRegionNameForEndpoint("127.0.0.1:1234")); }
public static String guessRegionNameForEndpoint(String hostname) { return guessRegionNameForEndpoint(hostname, null); }
EndpointToRegion { public static String guessRegionNameForEndpoint(String hostname) { return guessRegionNameForEndpoint(hostname, null); } }
EndpointToRegion { public static String guessRegionNameForEndpoint(String hostname) { return guessRegionNameForEndpoint(hostname, null); }  }
EndpointToRegion { public static String guessRegionNameForEndpoint(String hostname) { return guessRegionNameForEndpoint(hostname, null); }  static String guessRegionNameForEndpoint(String hostname); static String guessRegionNameForEndpoint(String endpoint, String serviceHint); static String guessRegionNameForEndpointWithDefault(String hostname, String serviceHint, String defaultRegion); static Region guessRegionForEndpoint(String hostname); static Region guessRegionForEndpoint(String endpoint, String serviceHint); }
EndpointToRegion { public static String guessRegionNameForEndpoint(String hostname) { return guessRegionNameForEndpoint(hostname, null); }  static String guessRegionNameForEndpoint(String hostname); static String guessRegionNameForEndpoint(String endpoint, String serviceHint); static String guessRegionNameForEndpointWithDefault(String hostname, String serviceHint, String defaultRegion); static Region guessRegionForEndpoint(String hostname); static Region guessRegionForEndpoint(String endpoint, String serviceHint);  }