AvailableProvidersListState Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AvailableProvidersListState
- com.
Implements
public final class AvailableProvidersListState
implements JsonSerializable<AvailableProvidersListState>
State details.
Constructor Summary
Constructor | Description |
---|---|
AvailableProvidersListState() |
Creates an instance of Available |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Available |
cities()
Get the cities property: List of available cities or towns in the state. |
static
Available |
fromJson(JsonReader jsonReader)
Reads an instance of Available |
List<String> |
providers()
Get the providers property: A list of Internet service providers. |
String |
stateName()
Get the state |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Available |
withCities(List<AvailableProvidersListCity> cities)
Set the cities property: List of available cities or towns in the state. |
Available |
withProviders(List<String> providers)
Set the providers property: A list of Internet service providers. |
Available |
withStateName(String stateName)
Set the state |
Methods inherited from java.lang.Object
Constructor Details
AvailableProvidersListState
public AvailableProvidersListState()
Creates an instance of AvailableProvidersListState class.
Method Details
cities
public List
Get the cities property: List of available cities or towns in the state.
Returns:
fromJson
public static AvailableProvidersListState fromJson(JsonReader jsonReader)
Reads an instance of AvailableProvidersListState from the JsonReader.
Parameters:
Returns:
Throws:
providers
public List
Get the providers property: A list of Internet service providers.
Returns:
stateName
public String stateName()
Get the stateName property: The state name.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCities
public AvailableProvidersListState withCities(List
Set the cities property: List of available cities or towns in the state.
Parameters:
Returns:
withProviders
public AvailableProvidersListState withProviders(List
Set the providers property: A list of Internet service providers.
Parameters:
Returns:
withStateName
public AvailableProvidersListState withStateName(String stateName)
Set the stateName property: The state name.
Parameters:
Returns:
Applies to
Azure SDK for Java