Class AzureReachabilityReportLocation
java.lang.Object
com.azure.resourcemanager.network.models.AzureReachabilityReportLocation
Parameters that define a geographic location.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AzureReachabilityReportLocation class. -
Method Summary
Modifier and TypeMethodDescriptioncity()Get the city property: The name of the city or town.country()Get the country property: The name of the country.state()Get the state property: The name of the state.voidvalidate()Validates the instance.Set the city property: The name of the city or town.withCountry(String country) Set the country property: The name of the country.Set the state property: The name of the state.
-
Constructor Details
-
AzureReachabilityReportLocation
public AzureReachabilityReportLocation()Creates an instance of AzureReachabilityReportLocation class.
-
-
Method Details
-
country
Get the country property: The name of the country.- Returns:
- the country value.
-
withCountry
Set the country property: The name of the country.- Parameters:
country- the country value to set.- Returns:
- the AzureReachabilityReportLocation object itself.
-
state
Get the state property: The name of the state.- Returns:
- the state value.
-
withState
Set the state property: The name of the state.- Parameters:
state- the state value to set.- Returns:
- the AzureReachabilityReportLocation object itself.
-
city
Get the city property: The name of the city or town.- Returns:
- the city value.
-
withCity
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.
-