Class AzureReachabilityReportLocation


  • public final class AzureReachabilityReportLocation
    extends Object
    Parameters that define a geographic location.
    • Constructor Detail

      • AzureReachabilityReportLocation

        public AzureReachabilityReportLocation()
    • 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.