Package cloud.genesys.webmessaging.sdk
Enum GenesysCloudRegionWebSocketHosts
- java.lang.Object
-
- java.lang.Enum<GenesysCloudRegionWebSocketHosts>
-
- cloud.genesys.webmessaging.sdk.GenesysCloudRegionWebSocketHosts
-
- All Implemented Interfaces:
Serializable,Comparable<GenesysCloudRegionWebSocketHosts>
public enum GenesysCloudRegionWebSocketHosts extends Enum<GenesysCloudRegionWebSocketHosts>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ap_northeast_1ap_northeast_2ap_south_1ap_southeast_2ca_central_1eu_central_1eu_west_1eu_west_2us_east_1us_east_2us_west_2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringasApiHost()static StringasApiHost(GenesysCloudRegionWebSocketHosts host)static StringasApiHost(String host)StringgetWebSocketHost()static GenesysCloudRegionWebSocketHostsvalueOf(String name)Returns the enum constant of this type with the specified name.static GenesysCloudRegionWebSocketHosts[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
us_east_1
public static final GenesysCloudRegionWebSocketHosts us_east_1
-
eu_west_1
public static final GenesysCloudRegionWebSocketHosts eu_west_1
-
ap_southeast_2
public static final GenesysCloudRegionWebSocketHosts ap_southeast_2
-
ap_northeast_1
public static final GenesysCloudRegionWebSocketHosts ap_northeast_1
-
eu_central_1
public static final GenesysCloudRegionWebSocketHosts eu_central_1
-
us_west_2
public static final GenesysCloudRegionWebSocketHosts us_west_2
-
ca_central_1
public static final GenesysCloudRegionWebSocketHosts ca_central_1
-
ap_northeast_2
public static final GenesysCloudRegionWebSocketHosts ap_northeast_2
-
eu_west_2
public static final GenesysCloudRegionWebSocketHosts eu_west_2
-
ap_south_1
public static final GenesysCloudRegionWebSocketHosts ap_south_1
-
us_east_2
public static final GenesysCloudRegionWebSocketHosts us_east_2
-
-
Method Detail
-
values
public static GenesysCloudRegionWebSocketHosts[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GenesysCloudRegionWebSocketHosts c : GenesysCloudRegionWebSocketHosts.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenesysCloudRegionWebSocketHosts valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getWebSocketHost
public String getWebSocketHost()
-
asApiHost
public String asApiHost()
-
asApiHost
public static String asApiHost(GenesysCloudRegionWebSocketHosts host)
-
-