Class AvailableProvidersListCountry

java.lang.Object
com.azure.resourcemanager.network.models.AvailableProvidersListCountry

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

    • AvailableProvidersListCountry

      public AvailableProvidersListCountry()
      Creates an instance of AvailableProvidersListCountry class.
  • Method Details

    • 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.
    • states

      Get the states property: List of available states in the country.
      Returns:
      the states value.
    • withStates

      Set the states property: List of available states in the country.
      Parameters:
      states - the states value to set.
      Returns:
      the AvailableProvidersListCountry object itself.
    • validate

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