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