Class AvailableProvidersListCountry


  • public final class AvailableProvidersListCountry
    extends Object
    Country details.
    • Constructor Detail

      • AvailableProvidersListCountry

        public AvailableProvidersListCountry()
    • Method Detail

      • countryName

        public String countryName()
        Get the countryName property: The country name.
        Returns:
        the countryName value.
      • withCountryName

        public AvailableProvidersListCountry withCountryName​(String countryName)
        Set the countryName property: The country name.
        Parameters:
        countryName - the countryName value to set.
        Returns:
        the AvailableProvidersListCountry object itself.
      • providers

        public List<String> providers()
        Get the providers property: A list of Internet service providers.
        Returns:
        the providers value.
      • withProviders

        public AvailableProvidersListCountry withProviders​(List<String> providers)
        Set the providers property: A list of Internet service providers.
        Parameters:
        providers - the providers value to set.
        Returns:
        the AvailableProvidersListCountry object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.