Class CustomDomainProperties

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

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

    • CustomDomainProperties

      public CustomDomainProperties()
      Creates an instance of CustomDomainProperties 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 CustomDomainProperties 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 CustomDomainProperties object itself.
    • resourceState

      public CustomDomainResourceState resourceState()
      Get the resourceState property: Resource status of the custom domain.
      Returns:
      the resourceState value.
    • customHttpsProvisioningState

      public CustomHttpsProvisioningState customHttpsProvisioningState()
      Get the customHttpsProvisioningState property: Provisioning status of the custom domain.
      Returns:
      the customHttpsProvisioningState value.
    • customHttpsProvisioningSubstate

      public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()
      Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.
      Returns:
      the customHttpsProvisioningSubstate value.
    • customHttpsParameters

      public CustomDomainHttpsParameters customHttpsParameters()
      Get the customHttpsParameters property: Certificate parameters for securing custom HTTPS.
      Returns:
      the customHttpsParameters value.
    • withCustomHttpsParameters

      public CustomDomainProperties withCustomHttpsParameters(CustomDomainHttpsParameters customHttpsParameters)
      Set the customHttpsParameters property: Certificate parameters for securing custom HTTPS.
      Parameters:
      customHttpsParameters - the customHttpsParameters value to set.
      Returns:
      the CustomDomainProperties object itself.
    • validationData

      public String validationData()
      Get the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
      Returns:
      the validationData value.
    • withValidationData

      public CustomDomainProperties withValidationData(String validationData)
      Set the validationData property: Special validation or data may be required when delivering CDN to some regions due to local compliance reasons. E.g. ICP license number of a custom domain is required to deliver content in China.
      Parameters:
      validationData - the validationData value to set.
      Returns:
      the CustomDomainProperties object itself.
    • provisioningState

      public CustomHttpsProvisioningState provisioningState()
      Get the provisioningState property: Provisioning status of Custom Https of the custom domain.
      Returns:
      the provisioningState value.
    • validate

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