public final class AzureReachabilityReportLocation extends Object
| Constructor and Description |
|---|
AzureReachabilityReportLocation() |
| Modifier and Type | Method and Description |
|---|---|
String |
city()
Get the city property: The name of the city or town.
|
String |
country()
Get the country property: The name of the country.
|
String |
state()
Get the state property: The name of the state.
|
void |
validate()
Validates the instance.
|
AzureReachabilityReportLocation |
withCity(String city)
Set the city property: The name of the city or town.
|
AzureReachabilityReportLocation |
withCountry(String country)
Set the country property: The name of the country.
|
AzureReachabilityReportLocation |
withState(String state)
Set the state property: The name of the state.
|
public String country()
public AzureReachabilityReportLocation withCountry(String country)
country - the country value to set.public String state()
public AzureReachabilityReportLocation withState(String state)
state - the state value to set.public String city()
public AzureReachabilityReportLocation withCity(String city)
city - the city value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.