Enum Region
- java.lang.Object
-
- java.lang.Enum<Region>
-
- com.tencentcloudapi.common.profile.Region
-
- All Implemented Interfaces:
Serializable,Comparable<Region>
public enum Region extends Enum<Region>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AshburnBangkokBeijingChengduChongqingFrankfurtGuangzhouGuangzhouOpenHongKongMoscowMumbaiSeoulShanghaiShanghaiFSIShenzhenFSISiliconValleySingaporeTokyoToronto
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()StringtoString()static RegionvalueOf(String name)Returns the enum constant of this type with the specified name.static Region[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bangkok
public static final Region Bangkok
-
Beijing
public static final Region Beijing
-
Chengdu
public static final Region Chengdu
-
Chongqing
public static final Region Chongqing
-
Guangzhou
public static final Region Guangzhou
-
GuangzhouOpen
public static final Region GuangzhouOpen
-
HongKong
public static final Region HongKong
-
Mumbai
public static final Region Mumbai
-
Seoul
public static final Region Seoul
-
Shanghai
public static final Region Shanghai
-
ShanghaiFSI
public static final Region ShanghaiFSI
-
ShenzhenFSI
public static final Region ShenzhenFSI
-
Singapore
public static final Region Singapore
-
Tokyo
public static final Region Tokyo
-
Frankfurt
public static final Region Frankfurt
-
Moscow
public static final Region Moscow
-
Ashburn
public static final Region Ashburn
-
SiliconValley
public static final Region SiliconValley
-
Toronto
public static final Region Toronto
-
-
Method Detail
-
values
public static Region[] 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 (Region c : Region.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Region 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
-
getValue
public String getValue()
-
-