Class CustomDomainPropertiesParameters

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.CustomDomainPropertiesParameters

public final class CustomDomainPropertiesParameters extends Object
The JSON object that contains the properties of the custom domain to create.
  • Constructor Details

    • CustomDomainPropertiesParameters

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

    • 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 CustomDomainPropertiesParameters 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 CustomDomainPropertiesParameters object itself.
    • validate

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