Class CertificatePatchResourceProperties

java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.CertificatePatchResourceProperties

public final class CertificatePatchResourceProperties extends Object
CertificatePatchResource resource specific properties.
  • Constructor Details

    • CertificatePatchResourceProperties

      public CertificatePatchResourceProperties()
  • Method Details

    • password

      public String password()
      Get the password property: Certificate password.
      Returns:
      the password value.
    • withPassword

      public CertificatePatchResourceProperties withPassword(String password)
      Set the password property: Certificate password.
      Parameters:
      password - the password value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • friendlyName

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

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

      public List<String> hostNames()
      Get the hostNames property: Host names the certificate applies to.
      Returns:
      the hostNames value.
    • withHostNames

      public CertificatePatchResourceProperties withHostNames(List<String> hostNames)
      Set the hostNames property: Host names the certificate applies to.
      Parameters:
      hostNames - the hostNames value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • pfxBlob

      public byte[] pfxBlob()
      Get the pfxBlob property: Pfx blob.
      Returns:
      the pfxBlob value.
    • withPfxBlob

      public CertificatePatchResourceProperties withPfxBlob(byte[] pfxBlob)
      Set the pfxBlob property: Pfx blob.
      Parameters:
      pfxBlob - the pfxBlob value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • siteName

      public String siteName()
      Get the siteName property: App name.
      Returns:
      the siteName value.
    • selfLink

      public String selfLink()
      Get the selfLink property: Self link.
      Returns:
      the selfLink value.
    • issuer

      public String issuer()
      Get the issuer property: Certificate issuer.
      Returns:
      the issuer value.
    • issueDate

      public OffsetDateTime issueDate()
      Get the issueDate property: Certificate issue Date.
      Returns:
      the issueDate value.
    • 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.
    • valid

      public Boolean valid()
      Get the valid property: Is the certificate valid?.
      Returns:
      the valid value.
    • cerBlob

      public byte[] cerBlob()
      Get the cerBlob property: Raw bytes of .cer file.
      Returns:
      the cerBlob value.
    • publicKeyHash

      public String publicKeyHash()
      Get the publicKeyHash property: Public key hash.
      Returns:
      the publicKeyHash value.
    • hostingEnvironmentProfile

      public HostingEnvironmentProfile hostingEnvironmentProfile()
      Get the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the certificate.
      Returns:
      the hostingEnvironmentProfile value.
    • keyVaultId

      public String keyVaultId()
      Get the keyVaultId property: Key Vault Csm resource Id.
      Returns:
      the keyVaultId value.
    • withKeyVaultId

      public CertificatePatchResourceProperties withKeyVaultId(String keyVaultId)
      Set the keyVaultId property: Key Vault Csm resource Id.
      Parameters:
      keyVaultId - the keyVaultId value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • keyVaultSecretName

      public String keyVaultSecretName()
      Get the keyVaultSecretName property: Key Vault secret name.
      Returns:
      the keyVaultSecretName value.
    • withKeyVaultSecretName

      public CertificatePatchResourceProperties withKeyVaultSecretName(String keyVaultSecretName)
      Set the keyVaultSecretName property: Key Vault secret name.
      Parameters:
      keyVaultSecretName - the keyVaultSecretName value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • keyVaultSecretStatus

      public KeyVaultSecretStatus keyVaultSecretStatus()
      Get the keyVaultSecretStatus property: Status of the Key Vault secret.
      Returns:
      the keyVaultSecretStatus value.
    • serverFarmId

      public String serverFarmId()
      Get the serverFarmId property: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms" + "/{appServicePlanName}".
      Returns:
      the serverFarmId value.
    • withServerFarmId

      public CertificatePatchResourceProperties withServerFarmId(String serverFarmId)
      Set the serverFarmId property: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms" + "/{appServicePlanName}".
      Parameters:
      serverFarmId - the serverFarmId value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • canonicalName

      public String canonicalName()
      Get the canonicalName property: CNAME of the certificate to be issued via free certificate.
      Returns:
      the canonicalName value.
    • withCanonicalName

      public CertificatePatchResourceProperties withCanonicalName(String canonicalName)
      Set the canonicalName property: CNAME of the certificate to be issued via free certificate.
      Parameters:
      canonicalName - the canonicalName value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • domainValidationMethod

      public String domainValidationMethod()
      Get the domainValidationMethod property: Method of domain validation for free cert.
      Returns:
      the domainValidationMethod value.
    • withDomainValidationMethod

      public CertificatePatchResourceProperties withDomainValidationMethod(String domainValidationMethod)
      Set the domainValidationMethod property: Method of domain validation for free cert.
      Parameters:
      domainValidationMethod - the domainValidationMethod value to set.
      Returns:
      the CertificatePatchResourceProperties object itself.
    • validate

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