Class AzureReachabilityReportLocation
- java.lang.Object
-
- com.azure.resourcemanager.network.models.AzureReachabilityReportLocation
-
public final class AzureReachabilityReportLocation extends Object
Parameters that define a geographic location.
-
-
Constructor Summary
Constructors Constructor Description AzureReachabilityReportLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcity()Get the city property: The name of the city or town.Stringcountry()Get the country property: The name of the country.Stringstate()Get the state property: The name of the state.voidvalidate()Validates the instance.AzureReachabilityReportLocationwithCity(String city)Set the city property: The name of the city or town.AzureReachabilityReportLocationwithCountry(String country)Set the country property: The name of the country.AzureReachabilityReportLocationwithState(String state)Set the state property: The name of the state.
-
-
-
Method Detail
-
country
public String country()
Get the country property: The name of the country.- Returns:
- the country value.
-
withCountry
public AzureReachabilityReportLocation withCountry(String country)
Set the country property: The name of the country.- Parameters:
country- the country value to set.- Returns:
- the AzureReachabilityReportLocation object itself.
-
state
public String state()
Get the state property: The name of the state.- Returns:
- the state value.
-
withState
public AzureReachabilityReportLocation withState(String state)
Set the state property: The name of the state.- Parameters:
state- the state value to set.- Returns:
- the AzureReachabilityReportLocation object itself.
-
city
public String city()
Get the city property: The name of the city or town.- Returns:
- the city value.
-
withCity
public AzureReachabilityReportLocation withCity(String city)
Set the city property: The name of the city or town.- Parameters:
city- the city value to set.- Returns:
- the AzureReachabilityReportLocation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-