Class LifetimeAction

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

public final class LifetimeAction extends Object
Represents a LifeTimeAction in CertificatePolicy
  • Constructor Details

  • Method Details

    • getLifetimePercentage

      public Integer getLifetimePercentage()
      Get the lifetime percentage.
      Returns:
      the lifetime percentage
    • setLifetimePercentage

      public LifetimeAction setLifetimePercentage(Integer lifetimePercentage)
      Set the lifetime percentage.
      Parameters:
      lifetimePercentage - The lifetime percentage to set
      Returns:
      the LifetimeAction object itself.
    • getDaysBeforeExpiry

      public Integer getDaysBeforeExpiry()
      Get the days before expiry.
      Returns:
      the days before expiry
    • setDaysBeforeExpiry

      public LifetimeAction setDaysBeforeExpiry(Integer daysBeforeExpiry)
      Set the days before expiry.
      Parameters:
      daysBeforeExpiry - The days before expiry to set
      Returns:
      the LifetimeAction object itself.
    • getAction

      public CertificatePolicyAction getAction()
      Get the lifetime action.
      Returns:
      the lifetime action