Class AvailableProvidersListCity
- java.lang.Object
-
- com.azure.resourcemanager.network.models.AvailableProvidersListCity
-
public final class AvailableProvidersListCity extends Object
City or town details.
-
-
Constructor Summary
Constructors Constructor Description AvailableProvidersListCity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcityName()Get the cityName property: The city or town name.List<String>providers()Get the providers property: A list of Internet service providers.voidvalidate()Validates the instance.AvailableProvidersListCitywithCityName(String cityName)Set the cityName property: The city or town name.AvailableProvidersListCitywithProviders(List<String> providers)Set the providers property: A list of Internet service providers.
-
-
-
Method Detail
-
cityName
public String cityName()
Get the cityName property: The city or town name.- Returns:
- the cityName value.
-
withCityName
public AvailableProvidersListCity withCityName(String cityName)
Set the cityName property: The city or town name.- Parameters:
cityName- the cityName value to set.- Returns:
- the AvailableProvidersListCity object itself.
-
providers
public List<String> providers()
Get the providers property: A list of Internet service providers.- Returns:
- the providers value.
-
withProviders
public AvailableProvidersListCity withProviders(List<String> providers)
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.
-
-