Class AvailableProvidersListState
- java.lang.Object
-
- com.azure.resourcemanager.network.models.AvailableProvidersListState
-
public final class AvailableProvidersListState extends Object
State details.
-
-
Constructor Summary
Constructors Constructor Description AvailableProvidersListState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.StringstateName()Get the stateName property: The state name.voidvalidate()Validates the instance.AvailableProvidersListStatewithCities(List<AvailableProvidersListCity> cities)Set the cities property: List of available cities or towns in the state.AvailableProvidersListStatewithProviders(List<String> providers)Set the providers property: A list of Internet service providers.AvailableProvidersListStatewithStateName(String stateName)Set the stateName property: The state name.
-
-
-
Method Detail
-
stateName
public String stateName()
Get the stateName property: The state name.- Returns:
- the stateName value.
-
withStateName
public AvailableProvidersListState withStateName(String stateName)
Set the stateName property: The state name.- Parameters:
stateName- the stateName value to set.- Returns:
- the AvailableProvidersListState object itself.
-
providers
public List<String> providers()
Get the providers property: A list of Internet service providers.- Returns:
- the providers value.
-
withProviders
public AvailableProvidersListState withProviders(List<String> providers)
Set the providers property: A list of Internet service providers.- Parameters:
providers- the providers value to set.- Returns:
- the AvailableProvidersListState object itself.
-
cities
public List<AvailableProvidersListCity> cities()
Get the cities property: List of available cities or towns in the state.- Returns:
- the cities value.
-
withCities
public AvailableProvidersListState withCities(List<AvailableProvidersListCity> cities)
Set the cities property: List of available cities or towns in the state.- Parameters:
cities- the cities value to set.- Returns:
- the AvailableProvidersListState object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-