Class CheckHostnameAvailabilityInput


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

      • CheckHostnameAvailabilityInput

        public CheckHostnameAvailabilityInput()
    • Method Detail

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