Class CustomDomainConfiguration

java.lang.Object
com.azure.resourcemanager.appcontainers.models.CustomDomainConfiguration

public final class CustomDomainConfiguration extends Object
Configuration properties for apps environment custom domain.
  • Constructor Details

    • CustomDomainConfiguration

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

    • customDomainVerificationId

      public String customDomainVerificationId()
      Get the customDomainVerificationId property: Id used to verify domain name ownership.
      Returns:
      the customDomainVerificationId value.
    • dnsSuffix

      public String dnsSuffix()
      Get the dnsSuffix property: Dns suffix for the environment domain.
      Returns:
      the dnsSuffix value.
    • withDnsSuffix

      public CustomDomainConfiguration withDnsSuffix(String dnsSuffix)
      Set the dnsSuffix property: Dns suffix for the environment domain.
      Parameters:
      dnsSuffix - the dnsSuffix value to set.
      Returns:
      the CustomDomainConfiguration object itself.
    • certificateValue

      public byte[] certificateValue()
      Get the certificateValue property: PFX or PEM blob.
      Returns:
      the certificateValue value.
    • withCertificateValue

      public CustomDomainConfiguration withCertificateValue(byte[] certificateValue)
      Set the certificateValue property: PFX or PEM blob.
      Parameters:
      certificateValue - the certificateValue value to set.
      Returns:
      the CustomDomainConfiguration object itself.
    • certificatePassword

      public byte[] certificatePassword()
      Get the certificatePassword property: Certificate password.
      Returns:
      the certificatePassword value.
    • withCertificatePassword

      public CustomDomainConfiguration withCertificatePassword(byte[] certificatePassword)
      Set the certificatePassword property: Certificate password.
      Parameters:
      certificatePassword - the certificatePassword value to set.
      Returns:
      the CustomDomainConfiguration object itself.
    • expirationDate

      public OffsetDateTime expirationDate()
      Get the expirationDate property: Certificate expiration date.
      Returns:
      the expirationDate value.
    • thumbprint

      public String thumbprint()
      Get the thumbprint property: Certificate thumbprint.
      Returns:
      the thumbprint value.
    • subjectName

      public String subjectName()
      Get the subjectName property: Subject name of the certificate.
      Returns:
      the subjectName value.
    • validate

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