AvailableProvidersListCountry Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AvailableProvidersListCountry
- com.
Implements
public final class AvailableProvidersListCountry
implements JsonSerializable<AvailableProvidersListCountry>
Country details.
Constructor Summary
Constructor | Description |
---|---|
AvailableProvidersListCountry() |
Creates an instance of Available |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
countryName()
Get the country |
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
List<String> |
providers()
Get the providers property: A list of Internet service providers. |
List<Available |
states()
Get the states property: List of available states in the country. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Available |
withCountryName(String countryName)
Set the country |
Available |
withProviders(List<String> providers)
Set the providers property: A list of Internet service providers. |
Available |
withStates(List<AvailableProvidersListState> states)
Set the states property: List of available states in the country. |
Methods inherited from java.lang.Object
Constructor Details
AvailableProvidersListCountry
public AvailableProvidersListCountry()
Creates an instance of AvailableProvidersListCountry class.
Method Details
countryName
public String countryName()
Get the countryName property: The country name.
Returns:
fromJson
public static AvailableProvidersListCountry fromJson(JsonReader jsonReader)
Reads an instance of AvailableProvidersListCountry from the JsonReader.
Parameters:
Returns:
Throws:
providers
public List
Get the providers property: A list of Internet service providers.
Returns:
states
public List
Get the states property: List of available states in the country.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCountryName
public AvailableProvidersListCountry withCountryName(String countryName)
Set the countryName property: The country name.
Parameters:
Returns:
withProviders
public AvailableProvidersListCountry withProviders(List
Set the providers property: A list of Internet service providers.
Parameters:
Returns:
withStates
public AvailableProvidersListCountry withStates(List
Set the states property: List of available states in the country.
Parameters:
Returns:
Applies to
Azure SDK for Java