public final class AvailableProvidersListCity extends Object
| Constructor and Description |
|---|
AvailableProvidersListCity() |
| Modifier and Type | Method and Description |
|---|---|
String |
cityName()
Get the cityName property: The city or town name.
|
List<String> |
providers()
Get the providers property: A list of Internet service providers.
|
void |
validate()
Validates the instance.
|
AvailableProvidersListCity |
withCityName(String cityName)
Set the cityName property: The city or town name.
|
AvailableProvidersListCity |
withProviders(List<String> providers)
Set the providers property: A list of Internet service providers.
|
public String cityName()
public AvailableProvidersListCity withCityName(String cityName)
cityName - the cityName value to set.public List<String> providers()
public AvailableProvidersListCity withProviders(List<String> providers)
providers - the providers value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.