CountryPhoneCode Class
- java.
lang. Object - com.
microsoft. azure. management. resources. fluentcore. arm. ExpandableStringEnum<T> - com.
microsoft. azure. management. resources. fluentcore. arm. CountryPhoneCode
- com.
- com.
public final class CountryPhoneCode
extends ExpandableStringEnum<CountryPhoneCode>
Defines values for country codes for phone number prefixes. E.g. the country code for +1 123 456 7890 is '+1'.
Field Summary
Constructor Summary
Constructor | Description | |
---|---|---|
CountryPhoneCode() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Country |
fromString(String code)
Creates or finds a country phone code from its string representation. |
static
java.util.Collection<Country |
values() |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALBANIA
public static final CountryPhoneCode ALBANIA
ALGERIA
public static final CountryPhoneCode ALGERIA
ANDORRA
public static final CountryPhoneCode ANDORRA
ANGOLA
public static final CountryPhoneCode ANGOLA
ANTARCTICA
public static final CountryPhoneCode ANTARCTICA
ANTIGUA_AND_BARBUDA
public static final CountryPhoneCode ANTIGUA_AND_BARBUDA
ARGENTINA
public static final CountryPhoneCode ARGENTINA
ARMENIA
public static final CountryPhoneCode ARMENIA
ARUBA
public static final CountryPhoneCode ARUBA
ASCENSION_ISLAND
public static final CountryPhoneCode ASCENSION_ISLAND
AUSTRALIA
public static final CountryPhoneCode AUSTRALIA
AUSTRIA
public static final CountryPhoneCode AUSTRIA
AZERBAIJAN
public static final CountryPhoneCode AZERBAIJAN
BAHAMAS
public static final CountryPhoneCode BAHAMAS
BAHRAIN
public static final CountryPhoneCode BAHRAIN
BANGLADESH
public static final CountryPhoneCode BANGLADESH
BARBADOS
public static final CountryPhoneCode BARBADOS
BELARUS
public static final CountryPhoneCode BELARUS
BELGIUM
public static final CountryPhoneCode BELGIUM
BELIZE
public static final CountryPhoneCode BELIZE
BENIN
public static final CountryPhoneCode BENIN
BERMUDA
public static final CountryPhoneCode BERMUDA
BHUTAN
public static final CountryPhoneCode BHUTAN
BOLIVIA
public static final CountryPhoneCode BOLIVIA
BOSNIA_AND_HERZEGOVINA
public static final CountryPhoneCode BOSNIA_AND_HERZEGOVINA
BOTSWANA
public static final CountryPhoneCode BOTSWANA
BOUVET_ISLAND
public static final CountryPhoneCode BOUVET_ISLAND
BRAZIL
public static final CountryPhoneCode BRAZIL
BRITISH_INDIAN_OCEAN_TERRITORY
public static final CountryPhoneCode BRITISH_INDIAN_OCEAN_TERRITORY
BRUNEI
public static final CountryPhoneCode BRUNEI
BULGARIA
public static final CountryPhoneCode BULGARIA
BURKINA_FASO
public static final CountryPhoneCode BURKINA_FASO
BURUNDI
public static final CountryPhoneCode BURUNDI
CABO_VERDE
public static final CountryPhoneCode CABO_VERDE
CAMBODIA
public static final CountryPhoneCode CAMBODIA
CAMEROON
public static final CountryPhoneCode CAMEROON
CANADA
public static final CountryPhoneCode CANADA
CAYMAN_ISLANDS
public static final CountryPhoneCode CAYMAN_ISLANDS
CENTRAL_AFRICAN_REPUBLIC
public static final CountryPhoneCode CENTRAL_AFRICAN_REPUBLIC
CHAD
public static final CountryPhoneCode CHAD
CHILE
public static final CountryPhoneCode CHILE
CHINA
public static final CountryPhoneCode CHINA
CHRISTMAS_ISLAND
public static final CountryPhoneCode CHRISTMAS_ISLAND
COCOS_KEELING_ISLANDS
public static final CountryPhoneCode COCOS_KEELING_ISLANDS
COLOMBIA
public static final CountryPhoneCode COLOMBIA
COMOROS
public static final CountryPhoneCode COMOROS
CONGO
public static final CountryPhoneCode CONGO
CONGO_DRC
public static final CountryPhoneCode CONGO_DRC
COOK_ISLANDS
public static final CountryPhoneCode COOK_ISLANDS
COSTA_RICA
public static final CountryPhoneCode COSTA_RICA
CROATIA
public static final CountryPhoneCode CROATIA
CUBA
public static final CountryPhoneCode CUBA
CYPRUS
public static final CountryPhoneCode CYPRUS
CZECH_REPUBLIC
public static final CountryPhoneCode CZECH_REPUBLIC
DENMARK
public static final CountryPhoneCode DENMARK
DJIBOUTI
public static final CountryPhoneCode DJIBOUTI
DOMINICA
public static final CountryPhoneCode DOMINICA
DOMINICAN_REPUBLIC
public static final CountryPhoneCode DOMINICAN_REPUBLIC
ECUADOR
public static final CountryPhoneCode ECUADOR
EGYPT
public static final CountryPhoneCode EGYPT
EL_SALVADOR
public static final CountryPhoneCode EL_SALVADOR
EQUATORIAL_GUINEA
public static final CountryPhoneCode EQUATORIAL_GUINEA
ERITREA
public static final CountryPhoneCode ERITREA
ESTONIA
public static final CountryPhoneCode ESTONIA
ETHIOPIA
public static final CountryPhoneCode ETHIOPIA
FALKLAND_ISLANDS
public static final CountryPhoneCode FALKLAND_ISLANDS
FAROE_ISLANDS
public static final CountryPhoneCode FAROE_ISLANDS
FIJI_ISLANDS
public static final CountryPhoneCode FIJI_ISLANDS
FINLAND
public static final CountryPhoneCode FINLAND
FRANCE
public static final CountryPhoneCode FRANCE
FRENCH_GUIANA
public static final CountryPhoneCode FRENCH_GUIANA
FRENCH_POLYNESIA
public static final CountryPhoneCode FRENCH_POLYNESIA
GABON
public static final CountryPhoneCode GABON
GAMBIA_THE
public static final CountryPhoneCode GAMBIA_THE
GEORGIA
public static final CountryPhoneCode GEORGIA
GERMANY
public static final CountryPhoneCode GERMANY
GHANA
public static final CountryPhoneCode GHANA
GIBRALTAR
public static final CountryPhoneCode GIBRALTAR
GREECE
public static final CountryPhoneCode GREECE
GREENLAND
public static final CountryPhoneCode GREENLAND
GRENADA
public static final CountryPhoneCode GRENADA
GUADELOUPE
public static final CountryPhoneCode GUADELOUPE
GUAM
public static final CountryPhoneCode GUAM
GUATEMALA
public static final CountryPhoneCode GUATEMALA
GUERNSEY
public static final CountryPhoneCode GUERNSEY
GUINEA
public static final CountryPhoneCode GUINEA
GUINEA_BISSAU
public static final CountryPhoneCode GUINEA_BISSAU
GUYANA
public static final CountryPhoneCode GUYANA
HAITI
public static final CountryPhoneCode HAITI
HOLY_SEE_VATICAN_CITY
public static final CountryPhoneCode HOLY_SEE_VATICAN_CITY
HONDURAS
public static final CountryPhoneCode HONDURAS
HONG_KONG_SAR
public static final CountryPhoneCode HONG_KONG_SAR
HUNGARY
public static final CountryPhoneCode HUNGARY
ICELAND
public static final CountryPhoneCode ICELAND
INDIA
public static final CountryPhoneCode INDIA
INDONESIA
public static final CountryPhoneCode INDONESIA
IRAN
public static final CountryPhoneCode IRAN
IRAQ
public static final CountryPhoneCode IRAQ
IRELAND
public static final CountryPhoneCode IRELAND
ISLE_OF_MAN
public static final CountryPhoneCode ISLE_OF_MAN
ISRAEL
public static final CountryPhoneCode ISRAEL
ITALY
public static final CountryPhoneCode ITALY
IVORY_COAST
public static final CountryPhoneCode IVORY_COAST
JAMAICA
public static final CountryPhoneCode JAMAICA
JAN_MAYEN
public static final CountryPhoneCode JAN_MAYEN
JAPAN
public static final CountryPhoneCode JAPAN
JERSEY
public static final CountryPhoneCode JERSEY
JORDAN
public static final CountryPhoneCode JORDAN
KAZAKHSTAN
public static final CountryPhoneCode KAZAKHSTAN
KENYA
public static final CountryPhoneCode KENYA
KIRIBATI
public static final CountryPhoneCode KIRIBATI
KOREA
public static final CountryPhoneCode KOREA
KUWAIT
public static final CountryPhoneCode KUWAIT
KYRGYZSTAN
public static final CountryPhoneCode KYRGYZSTAN
LAOS
public static final CountryPhoneCode LAOS
LATVIA
public static final CountryPhoneCode LATVIA
LEBANON
public static final CountryPhoneCode LEBANON
LESOTHO
public static final CountryPhoneCode LESOTHO
LIBERIA
public static final CountryPhoneCode LIBERIA
LIBYA
public static final CountryPhoneCode LIBYA
LIECHTENSTEIN
public static final CountryPhoneCode LIECHTENSTEIN
LITHUANIA
public static final CountryPhoneCode LITHUANIA
LUXEMBOURG
public static final CountryPhoneCode LUXEMBOURG
MACAO_SAR
public static final CountryPhoneCode MACAO_SAR
MACEDONIA_FORMER_YUGOSLAV_REPUBLIC_OF
public static final CountryPhoneCode MACEDONIA_FORMER_YUGOSLAV_REPUBLIC_OF
MADAGASCAR
public static final CountryPhoneCode MADAGASCAR
MALAWI
public static final CountryPhoneCode MALAWI
MALAYSIA
public static final CountryPhoneCode MALAYSIA
MALDIVES
public static final CountryPhoneCode MALDIVES
MALI
public static final CountryPhoneCode MALI
MALTA
public static final CountryPhoneCode MALTA
MARSHALL_ISLANDS
public static final CountryPhoneCode MARSHALL_ISLANDS
MARTINIQUE
public static final CountryPhoneCode MARTINIQUE
MAURITANIA
public static final CountryPhoneCode MAURITANIA
MAURITIUS
public static final CountryPhoneCode MAURITIUS
MAYOTTE
public static final CountryPhoneCode MAYOTTE
MEXICO
public static final CountryPhoneCode MEXICO
MICRONESIA
public static final CountryPhoneCode MICRONESIA
MOLDOVA
public static final CountryPhoneCode MOLDOVA
MONACO
public static final CountryPhoneCode MONACO
MONGOLIA
public static final CountryPhoneCode MONGOLIA
MONTENEGRO
public static final CountryPhoneCode MONTENEGRO
MONTSERRAT
public static final CountryPhoneCode MONTSERRAT
MOROCCO
public static final CountryPhoneCode MOROCCO
MOZAMBIQUE
public static final CountryPhoneCode MOZAMBIQUE
MYANMAR
public static final CountryPhoneCode MYANMAR
NAMIBIA
public static final CountryPhoneCode NAMIBIA
NAURU
public static final CountryPhoneCode NAURU
NEPAL
public static final CountryPhoneCode NEPAL
NETHERLANDS
public static final CountryPhoneCode NETHERLANDS
NETHERLANDS_ANTILLES_FORMER
public static final CountryPhoneCode NETHERLANDS_ANTILLES_FORMER
NEW_CALEDONIA
public static final CountryPhoneCode NEW_CALEDONIA
NEW_ZEALAND
public static final CountryPhoneCode NEW_ZEALAND
NICARAGUA
public static final CountryPhoneCode NICARAGUA
NIGER
public static final CountryPhoneCode NIGER
NIGERIA
public static final CountryPhoneCode NIGERIA
NIUE
public static final CountryPhoneCode NIUE
NORTHERN_MARIANA_ISLANDS
public static final CountryPhoneCode NORTHERN_MARIANA_ISLANDS
NORTH_KOREA
public static final CountryPhoneCode NORTH_KOREA
NORWAY
public static final CountryPhoneCode NORWAY
OMAN
public static final CountryPhoneCode OMAN
PAKISTAN
public static final CountryPhoneCode PAKISTAN
PALAU
public static final CountryPhoneCode PALAU
PALESTINIAN_AUTHORITY_970
public static final CountryPhoneCode PALESTINIAN_AUTHORITY_970
PALESTINIAN_AUTHORITY_972
public static final CountryPhoneCode PALESTINIAN_AUTHORITY_972
PANAMA
public static final CountryPhoneCode PANAMA
PAPUA_NEW_GUINEA
public static final CountryPhoneCode PAPUA_NEW_GUINEA
PARAGUAY
public static final CountryPhoneCode PARAGUAY
PERU
public static final CountryPhoneCode PERU
PHILIPPINES
public static final CountryPhoneCode PHILIPPINES
POLAND
public static final CountryPhoneCode POLAND
PORTUGAL
public static final CountryPhoneCode PORTUGAL
QATAR
public static final CountryPhoneCode QATAR
REUNION
public static final CountryPhoneCode REUNION
ROMANIA
public static final CountryPhoneCode ROMANIA
RUSSIA
public static final CountryPhoneCode RUSSIA
RWANDA
public static final CountryPhoneCode RWANDA
SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA
public static final CountryPhoneCode SAINT_HELENA_ASCENSION_AND_TRISTAN_DA_CUNHA
SAMOA
public static final CountryPhoneCode SAMOA
SAN_MARINO
public static final CountryPhoneCode SAN_MARINO
SAO_TOME_AND_PRINCIPE
public static final CountryPhoneCode SAO_TOME_AND_PRINCIPE
SAUDI_ARABIA
public static final CountryPhoneCode SAUDI_ARABIA
SENEGAL
public static final CountryPhoneCode SENEGAL
SERBIA
public static final CountryPhoneCode SERBIA
SEYCHELLES
public static final CountryPhoneCode SEYCHELLES
SIERRA_LEONE
public static final CountryPhoneCode SIERRA_LEONE
SINGAPORE
public static final CountryPhoneCode SINGAPORE
SLOVAKIA
public static final CountryPhoneCode SLOVAKIA
SLOVENIA
public static final CountryPhoneCode SLOVENIA
SOLOMON_ISLANDS
public static final CountryPhoneCode SOLOMON_ISLANDS
SOMALIA
public static final CountryPhoneCode SOMALIA
SOUTH_AFRICA
public static final CountryPhoneCode SOUTH_AFRICA
SPAIN
public static final CountryPhoneCode SPAIN
SRI_LANKA
public static final CountryPhoneCode SRI_LANKA
ST_KITTS_AND_NEVIS
public static final CountryPhoneCode ST_KITTS_AND_NEVIS
ST_LUCIA
public static final CountryPhoneCode ST_LUCIA
ST_PIERRE_AND_MIQUELON
public static final CountryPhoneCode ST_PIERRE_AND_MIQUELON
ST_VINCENT_AND_THE_GRENADINES
public static final CountryPhoneCode ST_VINCENT_AND_THE_GRENADINES
SUDAN
public static final CountryPhoneCode SUDAN
SURINAME
public static final CountryPhoneCode SURINAME
SWAZILAND
public static final CountryPhoneCode SWAZILAND
SWEDEN
public static final CountryPhoneCode SWEDEN
SWITZERLAND
public static final CountryPhoneCode SWITZERLAND
SYRIA
public static final CountryPhoneCode SYRIA
TAIWAN
public static final CountryPhoneCode TAIWAN
TAJIKISTAN
public static final CountryPhoneCode TAJIKISTAN
TANZANIA
public static final CountryPhoneCode TANZANIA
THAILAND
public static final CountryPhoneCode THAILAND
TIMOR_LESTE
public static final CountryPhoneCode TIMOR_LESTE
TOGO
public static final CountryPhoneCode TOGO
TOKELAU
public static final CountryPhoneCode TOKELAU
TONGA
public static final CountryPhoneCode TONGA
TRINIDAD_AND_TOBAGO
public static final CountryPhoneCode TRINIDAD_AND_TOBAGO
TRISTAN_DA_CUNHA
public static final CountryPhoneCode TRISTAN_DA_CUNHA
TUNISIA
public static final CountryPhoneCode TUNISIA
TURKEY
public static final CountryPhoneCode TURKEY
TURKMENISTAN
public static final CountryPhoneCode TURKMENISTAN
TURKS_AND_CAICOS_ISLANDS
public static final CountryPhoneCode TURKS_AND_CAICOS_ISLANDS
TUVALU
public static final CountryPhoneCode TUVALU
UGANDA
public static final CountryPhoneCode UGANDA
UKRAINE
public static final CountryPhoneCode UKRAINE
UNITED_ARAB_EMIRATES
public static final CountryPhoneCode UNITED_ARAB_EMIRATES
UNITED_KINGDOM
public static final CountryPhoneCode UNITED_KINGDOM
UNITED_STATES
public static final CountryPhoneCode UNITED_STATES
UNITED_STATES_MINOR_OUTLYING_ISLANDS
public static final CountryPhoneCode UNITED_STATES_MINOR_OUTLYING_ISLANDS
URUGUAY
public static final CountryPhoneCode URUGUAY
UZBEKISTAN
public static final CountryPhoneCode UZBEKISTAN
VANUATU
public static final CountryPhoneCode VANUATU
VENEZUELA
public static final CountryPhoneCode VENEZUELA
VIETNAM
public static final CountryPhoneCode VIETNAM
VIRGIN_ISLANDS_BRITISH
public static final CountryPhoneCode VIRGIN_ISLANDS_BRITISH
VIRGIN_ISLANDS_US
public static final CountryPhoneCode VIRGIN_ISLANDS_US
WALLIS_AND_FUTUNA
public static final CountryPhoneCode WALLIS_AND_FUTUNA
YEMEN
public static final CountryPhoneCode YEMEN
ZAMBIA
public static final CountryPhoneCode ZAMBIA
ZIMBABWE
public static final CountryPhoneCode ZIMBABWE
Constructor Details
CountryPhoneCode
public CountryPhoneCode()
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for