# AreaCode

public enum AreaCode

数据中心区域码

#### Since

5.4.2

## Entries

BJ
Link copied to clipboard
BJ

北京数据中心，默认值

SG
Link copied to clipboard
SG

新加坡数据中心

NA
Link copied to clipboard
NA

北美数据中心

SG_B
Link copied to clipboard
SG_B

新加坡 B 企业合作数据中心

SG_A
Link copied to clipboard
SG_A

已废弃

SA
Link copied to clipboard
SA

沙特数据中心

## Properties

value
Link copied to clipboard
public int value

## Functions

getValue
Link copied to clipboard
public int getValue()
valueOf
Link copied to clipboard
public static InitOption.AreaCode valueOf(int value)
public static InitOption.AreaCode 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.)

values
Link copied to clipboard
public static Array<InitOption.AreaCode> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.