Class KeyVaultCertificateProperties

java.lang.Object
com.azure.resourcemanager.appplatform.models.CertificateProperties
com.azure.resourcemanager.appplatform.models.KeyVaultCertificateProperties

public final class KeyVaultCertificateProperties extends CertificateProperties
Properties of certificate imported from key vault.
  • Constructor Details

    • KeyVaultCertificateProperties

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

    • vaultUri

      public String vaultUri()
      Get the vaultUri property: The vault uri of user key vault.
      Returns:
      the vaultUri value.
    • withVaultUri

      public KeyVaultCertificateProperties withVaultUri(String vaultUri)
      Set the vaultUri property: The vault uri of user key vault.
      Parameters:
      vaultUri - the vaultUri value to set.
      Returns:
      the KeyVaultCertificateProperties object itself.
    • keyVaultCertName

      public String keyVaultCertName()
      Get the keyVaultCertName property: The certificate name of key vault.
      Returns:
      the keyVaultCertName value.
    • withKeyVaultCertName

      public KeyVaultCertificateProperties withKeyVaultCertName(String keyVaultCertName)
      Set the keyVaultCertName property: The certificate name of key vault.
      Parameters:
      keyVaultCertName - the keyVaultCertName value to set.
      Returns:
      the KeyVaultCertificateProperties object itself.
    • certVersion

      public String certVersion()
      Get the certVersion property: The certificate version of key vault.
      Returns:
      the certVersion value.
    • withCertVersion

      public KeyVaultCertificateProperties withCertVersion(String certVersion)
      Set the certVersion property: The certificate version of key vault.
      Parameters:
      certVersion - the certVersion value to set.
      Returns:
      the KeyVaultCertificateProperties object itself.
    • excludePrivateKey

      public Boolean excludePrivateKey()
      Get the excludePrivateKey property: Optional. If set to true, it will not import private key from key vault.
      Returns:
      the excludePrivateKey value.
    • withExcludePrivateKey

      public KeyVaultCertificateProperties withExcludePrivateKey(Boolean excludePrivateKey)
      Set the excludePrivateKey property: Optional. If set to true, it will not import private key from key vault.
      Parameters:
      excludePrivateKey - the excludePrivateKey value to set.
      Returns:
      the KeyVaultCertificateProperties object itself.
    • autoSync

      public KeyVaultCertificateAutoSync autoSync()
      Get the autoSync property: Indicates whether to automatically synchronize certificate from key vault or not.
      Returns:
      the autoSync value.
    • withAutoSync

      Set the autoSync property: Indicates whether to automatically synchronize certificate from key vault or not.
      Parameters:
      autoSync - the autoSync value to set.
      Returns:
      the KeyVaultCertificateProperties object itself.
    • validate

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