Class CustomDomainParameters


  • public final class CustomDomainParameters
    extends Object
    The customDomain JSON object required for custom domain creation or update.
    • Constructor Detail

      • CustomDomainParameters

        public CustomDomainParameters()
    • Method Detail

      • hostname

        public String hostname()
        Get the hostname property: The host name of the custom domain. Must be a domain name.
        Returns:
        the hostname value.
      • withHostname

        public CustomDomainParameters withHostname​(String hostname)
        Set the hostname property: The host name of the custom domain. Must be a domain name.
        Parameters:
        hostname - the hostname value to set.
        Returns:
        the CustomDomainParameters object itself.
      • validate

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