Class CustomDomainProperties

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

public final class CustomDomainProperties extends Object
Properties of a custom domain.
  • Constructor Details

    • CustomDomainProperties

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: Provisioning state of the resource.
      Returns:
      the provisioningState value.
    • domainName

      public String domainName()
      Get the domainName property: The custom domain name.
      Returns:
      the domainName value.
    • withDomainName

      public CustomDomainProperties withDomainName(String domainName)
      Set the domainName property: The custom domain name.
      Parameters:
      domainName - the domainName value to set.
      Returns:
      the CustomDomainProperties object itself.
    • customCertificate

      public ResourceReference customCertificate()
      Get the customCertificate property: Reference to a resource.
      Returns:
      the customCertificate value.
    • withCustomCertificate

      public CustomDomainProperties withCustomCertificate(ResourceReference customCertificate)
      Set the customCertificate property: Reference to a resource.
      Parameters:
      customCertificate - the customCertificate value to set.
      Returns:
      the CustomDomainProperties object itself.
    • validate

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