Class CreateCertificateOptions

java.lang.Object
com.azure.security.keyvault.certificates.models.CreateCertificateOptions

public class CreateCertificateOptions extends Object
Represents the configuration used to create a certificate in the key vault.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Get the name of the certificate.
      Returns:
      The name of the certificate.
    • getPolicy

      public CertificatePolicy getPolicy()
      Get the management policy for the certificate.
      Returns:
      The management policy for the certificate.
    • isEnabled

      public Boolean isEnabled()
      Get the enabled status of the certificate.
      Returns:
      The enabled status.
    • setEnabled

      public CreateCertificateOptions setEnabled(Boolean enabled)
      Set the enabled status of the certificate.
      Parameters:
      enabled - The enabled status.
      Returns:
      The updated CreateCertificateOptions object.
    • getTags

      public Map<String,String> getTags()
      Get the tags associated with the certificate.
      Returns:
      The tags associated with the certificate.
    • setTags

      public CreateCertificateOptions setTags(Map<String,String> tags)
      Set the tags to be associated with the certificate.
      Parameters:
      tags - The tags to be associated with the certificate.
      Returns:
      The updated CreateCertificateOptions object.
    • isCertificateOrderPreserved

      public Boolean isCertificateOrderPreserved()
      Get a value indicating the certificate order in the vault is to be preserved. If true, the certificate chain will be preserved in its original order. If false (default), the leaf certificate will be placed at index 0.
      Returns:
      A value indicating the certificate order in the vault is to be preserved.
    • setCertificateOrderPreserved

      public CreateCertificateOptions setCertificateOrderPreserved(Boolean preserveCertificateOrder)
      Set whether to preserve the certificate order in the vault. If true, the certificate chain will be preserved in its original order. If false (default), the leaf certificate will be placed at index 0.
      Parameters:
      preserveCertificateOrder - Whether to preserve the certificate order in the vault.
      Returns:
      The updated CreateCertificateOptions object.