CountryPhoneCode Class
- java.
lang. Object - ExpandableStringEnum<T>
- com.
microsoft. azure. management. resources. fluentcore. arm. CountryPhoneCode
- com.
public class CountryPhoneCode extends ExpandableStringEnum
Defines values for country codes for phone number prefixes. E.g. the country code for +1 123 456 7890 is '+1'.
Field Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
Country |
fromString(String code)
Creates or finds a country phone code from its string representation. |
Collection<Country |
values() |
Inherited Members
Field Details
ALBANIA
public static final CountryPhoneCode ALBANIA= fromString("+355")
ALGERIA
public static final CountryPhoneCode ALGERIA= fromString("+213")
ANDORRA
public static final CountryPhoneCode ANDORRA= fromString("+376")
ANGOLA
public static final CountryPhoneCode ANGOLA= fromString("+244")
ANTARCTICA
public static final CountryPhoneCode ANTARCTICA= fromString("+672")
ANTIGUA_AND_BARBUDA
public static final CountryPhoneCode ANTIGUA_AND_BARBUDA= fromString("+1")
ARGENTINA
public static final CountryPhoneCode ARGENTINA= fromString("+54")
ARMENIA
public static final CountryPhoneCode ARMENIA= fromString("+374")
ARUBA
public static final CountryPhoneCode ARUBA= fromString("+297")
ASCENSION_ISLAND
public static final CountryPhoneCode ASCENSION_ISLAND= fromString("+247")
AUSTRALIA
public static final CountryPhoneCode AUSTRALIA= fromString("+61")
AUSTRIA
public static final CountryPhoneCode AUSTRIA= fromString("+43")
AZERBAIJAN
public static final CountryPhoneCode AZERBAIJAN= fromString("+994")
BAHAMAS
public static final CountryPhoneCode BAHAMAS= fromString("+1")
BAHRAIN
public static final CountryPhoneCode BAHRAIN= fromString("+973")
BANGLADESH
public static final CountryPhoneCode BANGLADESH= fromString("+880")
BARBADOS
public static final CountryPhoneCode BARBADOS= fromString("+1")
BELARUS
public static final CountryPhoneCode BELARUS= fromString("+375")
BELGIUM
public static final CountryPhoneCode BELGIUM= fromString("+32")
BELIZE
public static final CountryPhoneCode BELIZE= fromString("+501")
BENIN
public static final CountryPhoneCode BENIN= fromString("+229")
BERMUDA
public static final CountryPhoneCode BERMUDA= fromString("+1")
BHUTAN
public static final CountryPhoneCode BHUTAN= fromString("+975")
BOLIVIA
public static final CountryPhoneCode BOLIVIA= fromString("+591")
BOSNIA_AND_HERZEGOVINA
public static final CountryPhoneCode BOSNIA_AND_HERZEGOVINA= fromString("+387")
BOTSWANA
public static final CountryPhoneCode BOTSWANA= fromString("+267")
BOUVET_ISLAND
public static final CountryPhoneCode BOUVET_ISLAND= fromString("+47")
BRAZIL
public static final CountryPhoneCode BRAZIL= fromString("+55")
BRITISH_INDIAN_OCEAN_TERRITORY
public static final CountryPhoneCode BRITISH_INDIAN_OCEAN_TERRITORY= fromString("+44")
BRUNEI
public static final CountryPhoneCode BRUNEI= fromString("+673")
BULGARIA
public static final CountryPhoneCode BULGARIA= fromString("+359")
BURKINA_FASO
public static final CountryPhoneCode BURKINA_FASO= fromString("+226")
BURUNDI
public static final CountryPhoneCode BURUNDI= fromString("+257")
CABO_VERDE
public static final CountryPhoneCode CABO_VERDE= fromString("+238")
CAMBODIA
public static final CountryPhoneCode CAMBODIA= fromString("+855")
CAMEROON
public static final CountryPhoneCode CAMEROON= fromString("+237")
CANADA
public static final CountryPhoneCode CANADA= fromString("+1")
CAYMAN_ISLANDS
public static final CountryPhoneCode CAYMAN_ISLANDS= fromString("+1")
CENTRAL_AFRICAN_REPUBLIC
public static final CountryPhoneCode CENTRAL_AFRICAN_REPUBLIC= fromString("+236")
CHAD
public static final CountryPhoneCode CHAD= fromString("+235")
CHILE
public static final CountryPhoneCode CHILE= fromString("+56")
CHINA
public static final CountryPhoneCode CHINA= fromString("+86")
CHRISTMAS_ISLAND
public static final CountryPhoneCode CHRISTMAS_ISLAND= fromString("+61")
COCOS_KEELING_ISLANDS
public static final CountryPhoneCode COCOS_KEELING_ISLANDS= fromString("+61")
COLOMBIA
public static final CountryPhoneCode COLOMBIA= fromString("+57")
COMOROS
public static final CountryPhoneCode COMOROS= fromString("+269")
CONGO
public static final CountryPhoneCode CONGO= fromString("+242")
CONGO_DRC
public static final CountryPhoneCode CONGO_DRC= fromString("+243")
COOK_ISLANDS
public static final CountryPhoneCode COOK_ISLANDS= fromString("+682")
COSTA_RICA
public static final CountryPhoneCode COSTA_RICA= fromString("+506")
CROATIA
public static final CountryPhoneCode CROATIA= fromString("+385")
CUBA
public static final CountryPhoneCode CUBA= fromString("+53")
CYPRUS
public static final CountryPhoneCode CYPRUS= fromString("+357")
CZECH_REPUBLIC
public static final CountryPhoneCode CZECH_REPUBLIC= fromString("+420")
DENMARK
public static final CountryPhoneCode DENMARK= fromString("+45")
DJIBOUTI
public static final CountryPhoneCode DJIBOUTI= fromString("+253")
DOMINICA
public static final CountryPhoneCode DOMINICA= fromString("+1")
DOMINICAN_REPUBLIC
public static final CountryPhoneCode DOMINICAN_REPUBLIC= fromString("+1")
ECUADOR
public static final CountryPhoneCode ECUADOR= fromString("+593")
EGYPT
public static final CountryPhoneCode EGYPT= fromString("+20")
EL_SALVADOR
public static final CountryPhoneCode EL_SALVADOR= fromString("+503")
EQUATORIAL_GUINEA
public static final CountryPhoneCode EQUATORIAL_GUINEA= fromString("+240")
ERITREA
public static final CountryPhoneCode ERITREA= fromString("+291")
ESTONIA
public static final CountryPhoneCode ESTONIA= fromString("+372")
ETHIOPIA
public static final CountryPhoneCode ETHIOPIA= fromString("+251")
FALKLAND_ISLANDS
public static final CountryPhoneCode FALKLAND_ISLANDS= fromString("+500")
FAROE_ISLANDS
public static final CountryPhoneCode FAROE_ISLANDS= fromString("+298")
FIJI_ISLANDS
public static final CountryPhoneCode FIJI_ISLANDS= fromString("+679")
FINLAND
public static final CountryPhoneCode FINLAND= fromString("+358")
FRANCE
public static final CountryPhoneCode FRANCE= fromString("+33")
FRENCH_GUIANA
public static final CountryPhoneCode FRENCH_GUIANA= fromString("+594")
FRENCH_POLYNESIA
public static final CountryPhoneCode FRENCH_POLYNESIA= fromString("+689")
GABON
public static final CountryPhoneCode GABON= fromString("+241")
GAMBIA_THE
public static final CountryPhoneCode GAMBIA_THE= fromString("+220")
GEORGIA
public static final CountryPhoneCode GEORGIA= fromString("+995")
GERMANY
public static final CountryPhoneCode GERMANY= fromString("+49")
GHANA
public static final CountryPhoneCode GHANA= fromString("+233")
GIBRALTAR
public static final CountryPhoneCode GIBRALTAR= fromString("+350")
GREECE
public static final CountryPhoneCode GREECE= fromString("+30")
GREENLAND
public static final CountryPhoneCode GREENLAND= fromString("+299")
GRENADA
public static final CountryPhoneCode GRENADA= fromString("+1")
GUADELOUPE
public static final CountryPhoneCode GUADELOUPE= fromString("+590")
GUAM
public static final CountryPhoneCode GUAM= fromString("+1")
GUATEMALA
public static final CountryPhoneCode GUATEMALA= fromString("+502")
GUERNSEY
public static final CountryPhoneCode GUERNSEY= fromString("+44")
GUINEA
public static final CountryPhoneCode GUINEA= fromString("+224")
GUINEA_BISSAU
public static final CountryPhoneCode GUINEA_BISSAU= fromString("+245")
GUYANA
public static final CountryPhoneCode GUYANA= fromString("+592")
HAITI
public static final CountryPhoneCode HAITI= fromString("+509")
HOLY_SEE_VATICAN_CITY
public static final CountryPhoneCode HOLY_SEE_VATICAN_CITY= fromString("+379")
HONDURAS
public static final CountryPhoneCode HONDURAS= fromString("+504")
HONG_KONG_SAR
public static final CountryPhoneCode HONG_KONG_SAR= fromString("+852")
HUNGARY
public static final CountryPhoneCode HUNGARY= fromString("+36")
ICELAND
public static final CountryPhoneCode ICELAND= fromString("+354")
INDIA
public static final CountryPhoneCode INDIA= fromString("+91")
INDONESIA
public static final CountryPhoneCode INDONESIA= fromString("+62")
IRAN
public static final CountryPhoneCode IRAN= fromString("+98")
IRAQ
public static final CountryPhoneCode IRAQ= fromString("+964")
IRELAND
public static final CountryPhoneCode IRELAND= fromString("+353")
ISLE_OF_MAN
public static final CountryPhoneCode ISLE_OF_MAN= fromString("+44")
ISRAEL
public static final CountryPhoneCode ISRAEL= fromString("+972")
ITALY
public static final CountryPhoneCode ITALY= fromString("+39")
IVORY_COAST
public static final CountryPhoneCode IVORY_COAST= fromString("+225")
JAMAICA
public static final CountryPhoneCode JAMAICA= fromString("+1")
JAN_MAYEN
public static final CountryPhoneCode JAN_MAYEN= fromString("+47")
JAPAN
public static final CountryPhoneCode JAPAN= fromString("+81")
JERSEY
public static final CountryPhoneCode JERSEY= fromString("+44")
JORDAN
public static final CountryPhoneCode JORDAN= fromString("+962")
KAZAKHSTAN
public static final CountryPhoneCode KAZAKHSTAN= fromString("+7")
KENYA
public static final CountryPhoneCode KENYA= fromString("+254")
KIRIBATI
public static final CountryPhoneCode KIRIBATI= fromString("+686")
KOREA
public static final CountryPhoneCode KOREA= fromString("+82")
KUWAIT
public static final CountryPhoneCode KUWAIT= fromString("+965")
KYRGYZSTAN
public static final CountryPhoneCode KYRGYZSTAN= fromString("+996")
LAOS
public static final CountryPhoneCode LAOS= fromString("+856")
LATVIA
public static final CountryPhoneCode LATVIA= fromString("+371")
LEBANON
public static final CountryPhoneCode LEBANON= fromString("+961")
LESOTHO
public static final CountryPhoneCode LESOTHO= fromString("+266")
LIBERIA
public static final CountryPhoneCode LIBERIA= fromString("+231")
LIBYA
public static final CountryPhoneCode LIBYA= fromString("+218")
LIECHTENSTEIN
public static final CountryPhoneCode LIECHTENSTEIN= fromString("+423")
LITHUANIA
public static final CountryPhoneCode LITHUANIA= fromString("+370")
LUXEMBOURG
public static final CountryPhoneCode LUXEMBOURG= fromString("+352")
MACAO_SAR
public static final CountryPhoneCode MACAO_SAR= fromString("+853")
MACEDONIA_FORMER_YUGOSLAV_REPUBLIC_OF
public static final CountryPhoneCode MACEDONIA_FORMER_YUGOSLAV_REPUBLIC_OF= fromString("+389")
MADAGASCAR
public static final CountryPhoneCode MADAGASCAR= fromString("+261")
MALAWI
public static final CountryPhoneCode MALAWI= fromString("+265")
MALAYSIA
public static final CountryPhoneCode MALAYSIA= fromString("+60")
MALDIVES
public static final CountryPhoneCode MALDIVES= fromString("+960")
MALI
public static final CountryPhoneCode MALI= fromString("+223")
MALTA
public static final CountryPhoneCode MALTA= fromString("+356")
MARSHALL_ISLANDS
public static final CountryPhoneCode MARSHALL_ISLANDS= fromString("+692")
MARTINIQUE
public static final CountryPhoneCode MARTINIQUE= fromString("+596")
MAURITANIA
public static final CountryPhoneCode MAURITANIA= fromString("+222")
MAURITIUS
public static final CountryPhoneCode MAURITIUS= fromString("+230")
MAYOTTE
public static final CountryPhoneCode MAYOTTE= fromString("+262")
MEXICO
public static final CountryPhoneCode MEXICO= fromString("+52")
MICRONESIA
public static final CountryPhoneCode MICRONESIA= fromString("+691")
MOLDOVA
public static final CountryPhoneCode MOLDOVA= fromString("+373")
MONACO
public static final CountryPhoneCode MONACO= fromString("+377")
MONGOLIA
public static final CountryPhoneCode MONGOLIA= fromString("+976")
MONTENEGRO
public static final CountryPhoneCode MONTENEGRO= fromString("+382")
MONTSERRAT
public static final CountryPhoneCode MONTSERRAT= fromString("+1")
MOROCCO
public static final CountryPhoneCode MOROCCO= fromString("+212")
MOZAMBIQUE
public static final CountryPhoneCode MOZAMBIQUE= fromString("+258")
MYANMAR
public static final CountryPhoneCode MYANMAR= fromString("+95")
NAMIBIA
public static final CountryPhoneCode NAMIBIA= fromString("+264")
NAURU
public static final CountryPhoneCode NAURU= fromString("+674")
NEPAL
public static final CountryPhoneCode NEPAL= fromString("+977")
NETHERLANDS
public static final CountryPhoneCode NETHERLANDS= fromString("+31")
NETHERLANDS_ANTILLES_FORMER
public static final CountryPhoneCode NETHERLANDS_ANTILLES_FORMER= fromString("+599")
NEW_CALEDONIA
public static final CountryPhoneCode NEW_CALEDONIA= fromString("+687")
NEW_ZEALAND
public static final CountryPhoneCode NEW_ZEALAND= fromString("+64")
NICARAGUA
public static final CountryPhoneCode NICARAGUA= fromString("+505")
NIGER
public static final CountryPhoneCode NIGER= fromString("+227")
NIGERIA
public static final CountryPhoneCode NIGERIA= fromString("+234")
NIUE
public static final CountryPhoneCode NIUE= fromString("+683")
NORTH_KOREA
public static final CountryPhoneCode NORTH_KOREA= fromString("+850")
NORTHERN_MARIANA_ISLANDS
public static final CountryPhoneCode NORTHERN_MARIANA_ISLANDS= fromString("+1")
NORWAY
public static final CountryPhoneCode NORWAY= fromString("+47")
OMAN
public static final CountryPhoneCode OMAN= fromString("+968")
PAKISTAN
public static final CountryPhoneCode PAKISTAN= fromString("+92")
PALAU
public static final CountryPhoneCode PALAU= fromString("+680")
PALESTINIAN_AUTHORITY_970
public static final CountryPhoneCode PALESTINIAN_AUTHORITY_970= fromString("+970")
PALESTINIAN_AUTHORITY_972
public static final CountryPhoneCode PALESTINIAN_AUTHORITY_972= fromString("+972")
PANAMA
public static final CountryPhoneCode PANAMA= fromString("+507")
PAPUA_NEW_GUINEA
public static final CountryPhoneCode PAPUA_NEW_GUINEA= fromString("+675")
PARAGUAY
public static final CountryPhoneCode PARAGUAY= fromString("+595")
PERU
public static final CountryPhoneCode PERU= fromString("+51")
PHILIPPINES
public static final CountryPhoneCode PHILIPPINES= fromString("+63")
POLAND
public static final CountryPhoneCode POLAND= fromString("+48")
PORTUGAL
public static final CountryPhoneCode PORTUGAL= fromString("+351")
QATAR
public static final CountryPhoneCode QATAR= fromString("+974")
REUNION
public static final CountryPhoneCode REUNION= fromString("+262")
ROMANIA
public static final CountryPhoneCode ROMANIA= fromString("+40")
RUSSIA
public static final CountryPhoneCode RUSSIA= fromString("+7")
RWANDA
public static final CountryPhoneCode RWANDA= fromString("+250")
SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA
public static final CountryPhoneCode SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA= fromString("+290")
SAMOA
public static final CountryPhoneCode SAMOA= fromString("+685")
SAN_MARINO
public static final CountryPhoneCode SAN_MARINO= fromString("+378")
SAO_TOME_AND_PRINCIPE
public static final CountryPhoneCode SAO_TOME_AND_PRINCIPE= fromString("+239")
SAUDI_ARABIA
public static final CountryPhoneCode SAUDI_ARABIA= fromString("+966")
SENEGAL
public static final CountryPhoneCode SENEGAL= fromString("+221")
SERBIA
public static final CountryPhoneCode SERBIA= fromString("+381")
SEYCHELLES
public static final CountryPhoneCode SEYCHELLES= fromString("+248")
SIERRA_LEONE
public static final CountryPhoneCode SIERRA_LEONE= fromString("+232")
SINGAPORE
public static final CountryPhoneCode SINGAPORE= fromString("+65")
SLOVAKIA
public static final CountryPhoneCode SLOVAKIA= fromString("+421")
SLOVENIA
public static final CountryPhoneCode SLOVENIA= fromString("+386")
SOLOMON_ISLANDS
public static final CountryPhoneCode SOLOMON_ISLANDS= fromString("+677")
SOMALIA
public static final CountryPhoneCode SOMALIA= fromString("+252")
SOUTH_AFRICA
public static final CountryPhoneCode SOUTH_AFRICA= fromString("+27")
SPAIN
public static final CountryPhoneCode SPAIN= fromString("+34")
SRI_LANKA
public static final CountryPhoneCode SRI_LANKA= fromString("+94")
ST_KITTS_AND_NEVIS
public static final CountryPhoneCode ST_KITTS_AND_NEVIS= fromString("+1")
ST_LUCIA
public static final CountryPhoneCode ST_LUCIA= fromString("+1")
ST_PIERRE_AND_MIQUELON
public static final CountryPhoneCode ST_PIERRE_AND_MIQUELON= fromString("+508")
ST_VINCENT_AND_THE_GRENADINES
public static final CountryPhoneCode ST_VINCENT_AND_THE_GRENADINES= fromString("+1")
SUDAN
public static final CountryPhoneCode SUDAN= fromString("+249")
SURINAME
public static final CountryPhoneCode SURINAME= fromString("+597")
SWAZILAND
public static final CountryPhoneCode SWAZILAND= fromString("+268")
SWEDEN
public static final CountryPhoneCode SWEDEN= fromString("+46")
SWITZERLAND
public static final CountryPhoneCode SWITZERLAND= fromString("+41")
SYRIA
public static final CountryPhoneCode SYRIA= fromString("+963")
TAIWAN
public static final CountryPhoneCode TAIWAN= fromString("+886")
TAJIKISTAN
public static final CountryPhoneCode TAJIKISTAN= fromString("+992")
TANZANIA
public static final CountryPhoneCode TANZANIA= fromString("+255")
THAILAND
public static final CountryPhoneCode THAILAND= fromString("+66")
TIMOR_LESTE
public static final CountryPhoneCode TIMOR_LESTE= fromString("+670")
TOGO
public static final CountryPhoneCode TOGO= fromString("+228")
TOKELAU
public static final CountryPhoneCode TOKELAU= fromString("+690")
TONGA
public static final CountryPhoneCode TONGA= fromString("+676")
TRINIDAD_AND_TOBAGO
public static final CountryPhoneCode TRINIDAD_AND_TOBAGO= fromString("+1")
TRISTAN_DA_CUNHA
public static final CountryPhoneCode TRISTAN_DA_CUNHA= fromString("+290")
TUNISIA
public static final CountryPhoneCode TUNISIA= fromString("+216")
TURKEY
public static final CountryPhoneCode TURKEY= fromString("+90")
TURKMENISTAN
public static final CountryPhoneCode TURKMENISTAN= fromString("+993")
TURKS_AND_CAICOS_ISLANDS
public static final CountryPhoneCode TURKS_AND_CAICOS_ISLANDS= fromString("+1")
TUVALU
public static final CountryPhoneCode TUVALU= fromString("+688")
UGANDA
public static final CountryPhoneCode UGANDA= fromString("+256")
UKRAINE
public static final CountryPhoneCode UKRAINE= fromString("+380")
UNITED_ARAB_EMIRATES
public static final CountryPhoneCode UNITED_ARAB_EMIRATES= fromString("+971")
UNITED_KINGDOM
public static final CountryPhoneCode UNITED_KINGDOM= fromString("+44")
UNITED_STATES
public static final CountryPhoneCode UNITED_STATES= fromString("+1")
UNITED_STATES_MINOR_OUTLYING_ISLANDS
public static final CountryPhoneCode UNITED_STATES_MINOR_OUTLYING_ISLANDS= fromString("+1")
URUGUAY
public static final CountryPhoneCode URUGUAY= fromString("+598")
UZBEKISTAN
public static final CountryPhoneCode UZBEKISTAN= fromString("+998")
VANUATU
public static final CountryPhoneCode VANUATU= fromString("+678")
VENEZUELA
public static final CountryPhoneCode VENEZUELA= fromString("+58")
VIETNAM
public static final CountryPhoneCode VIETNAM= fromString("+84")
VIRGIN_ISLANDS_BRITISH
public static final CountryPhoneCode VIRGIN_ISLANDS_BRITISH= fromString("+1")
VIRGIN_ISLANDS_US
public static final CountryPhoneCode VIRGIN_ISLANDS_US= fromString("+1")
WALLIS_AND_FUTUNA
public static final CountryPhoneCode WALLIS_AND_FUTUNA= fromString("+681")
YEMEN
public static final CountryPhoneCode YEMEN= fromString("+967")
ZAMBIA
public static final CountryPhoneCode ZAMBIA= fromString("+260")
ZIMBABWE
public static final CountryPhoneCode ZIMBABWE= fromString("+263")
Method Details
fromString
public static CountryPhoneCode fromString(String code)
Creates or finds a country phone code from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java