Class AvailableProvidersListCountry
- java.lang.Object
-
- com.azure.resourcemanager.network.models.AvailableProvidersListCountry
-
public final class AvailableProvidersListCountry extends Object
Country details.
-
-
Constructor Summary
Constructors Constructor Description AvailableProvidersListCountry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcountryName()Get the countryName property: The country name.List<String>providers()Get the providers property: A list of Internet service providers.List<AvailableProvidersListState>states()Get the states property: List of available states in the country.voidvalidate()Validates the instance.AvailableProvidersListCountrywithCountryName(String countryName)Set the countryName property: The country name.AvailableProvidersListCountrywithProviders(List<String> providers)Set the providers property: A list of Internet service providers.AvailableProvidersListCountrywithStates(List<AvailableProvidersListState> states)Set the states property: List of available states in the country.
-
-
-
Method Detail
-
countryName
public String countryName()
Get the countryName property: The country name.- Returns:
- the countryName value.
-
withCountryName
public AvailableProvidersListCountry withCountryName(String countryName)
Set the countryName property: The country name.- Parameters:
countryName- the countryName value to set.- Returns:
- the AvailableProvidersListCountry object itself.
-
providers
public List<String> providers()
Get the providers property: A list of Internet service providers.- Returns:
- the providers value.
-
withProviders
public AvailableProvidersListCountry withProviders(List<String> providers)
Set the providers property: A list of Internet service providers.- Parameters:
providers- the providers value to set.- Returns:
- the AvailableProvidersListCountry object itself.
-
states
public List<AvailableProvidersListState> states()
Get the states property: List of available states in the country.- Returns:
- the states value.
-
withStates
public AvailableProvidersListCountry withStates(List<AvailableProvidersListState> states)
Set the states property: List of available states in the country.- Parameters:
states- the states value to set.- Returns:
- the AvailableProvidersListCountry object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-