Class AvailableProvidersListCity
java.lang.Object
com.azure.resourcemanager.network.models.AvailableProvidersListCity
City or town details.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AvailableProvidersListCity class. -
Method Summary
Modifier and TypeMethodDescriptioncityName()Get the cityName property: The city or town name.Get the providers property: A list of Internet service providers.voidvalidate()Validates the instance.withCityName(String cityName) Set the cityName property: The city or town name.withProviders(List<String> providers) Set the providers property: A list of Internet service providers.
-
Constructor Details
-
AvailableProvidersListCity
public AvailableProvidersListCity()Creates an instance of AvailableProvidersListCity class.
-
-
Method Details
-
cityName
Get the cityName property: The city or town name.- Returns:
- the cityName value.
-
withCityName
Set the cityName property: The city or town name.- Parameters:
cityName- the cityName value to set.- Returns:
- the AvailableProvidersListCity 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 AvailableProvidersListCity object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-