public enum ServiceRegion extends Enum<ServiceRegion> implements io.vrap.rmf.base.client.ServiceRegionConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceRegion.RegionHosts |
| Enum Constant and Description |
|---|
GCP_EUROPE |
GCP_US |
| Modifier and Type | Method and Description |
|---|---|
String |
getApiUrl() |
String |
getAuthUrl() |
static ServiceRegion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceRegion GCP_EUROPE
public static final ServiceRegion GCP_US
public static ServiceRegion[] values()
for (ServiceRegion c : ServiceRegion.values()) System.out.println(c);
public static ServiceRegion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getApiUrl()
getApiUrl in interface io.vrap.rmf.base.client.ServiceRegionConfigpublic String getAuthUrl()
getAuthUrl in interface io.vrap.rmf.base.client.ServiceRegionConfig