Class AvailableProvidersListCountry
java.lang.Object
com.azure.resourcemanager.network.models.AvailableProvidersListCountry
Country details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AvailableProvidersListCountry class. -
Method Summary
Modifier and TypeMethodDescriptionGet the countryName property: The country name.Get the providers property: A list of Internet service providers.states()Get the states property: List of available states in the country.voidvalidate()Validates the instance.withCountryName(String countryName) Set the countryName property: The country name.withProviders(List<String> providers) Set the providers property: A list of Internet service providers.withStates(List<AvailableProvidersListState> states) Set the states property: List of available states in the country.
-
Constructor Details
-
AvailableProvidersListCountry
public AvailableProvidersListCountry()Creates an instance of AvailableProvidersListCountry class.
-
-
Method Details
-
countryName
Get the countryName property: The country name.- Returns:
- the countryName value.
-
withCountryName
Set the countryName property: The country name.- Parameters:
countryName- the countryName value to set.- Returns:
- the AvailableProvidersListCountry object itself.
-
providers
Get the providers property: A list of Internet service providers.- Returns:
- the providers value.
-
withProviders
Set the providers property: A list of Internet service providers.- Parameters:
providers- the providers value to set.- Returns:
- the AvailableProvidersListCountry object itself.
-
states
Get the states property: List of available states in the country.- Returns:
- the states value.
-
withStates
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.
-