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