Class CheckHostnameAvailabilityInput

java.lang.Object
com.azure.resourcemanager.cdn.models.CheckHostnameAvailabilityInput

public final class CheckHostnameAvailabilityInput extends Object
Input of CheckHostNameAvailability API.
  • Constructor Details

    • CheckHostnameAvailabilityInput

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

    • hostname

      public String hostname()
      Get the hostname property: The host name to validate.
      Returns:
      the hostname value.
    • withHostname

      public CheckHostnameAvailabilityInput withHostname(String hostname)
      Set the hostname property: The host name to validate.
      Parameters:
      hostname - the hostname value to set.
      Returns:
      the CheckHostnameAvailabilityInput object itself.
    • validate

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