Class LifetimeAction
java.lang.Object
com.azure.security.keyvault.certificates.models.LifetimeAction
Represents a LifeTimeAction in
CertificatePolicy
-
Constructor Summary
ConstructorDescriptionCreates a new LifetimeAction instance, with the providedCertificatePolicyAction
. -
Method Summary
Modifier and TypeMethodDescriptionGet the lifetime action.Get the days before expiry.Get the lifetime percentage.setDaysBeforeExpiry
(Integer daysBeforeExpiry) Set the days before expiry.setLifetimePercentage
(Integer lifetimePercentage) Set the lifetime percentage.
-
Constructor Details
-
LifetimeAction
Creates a new LifetimeAction instance, with the providedCertificatePolicyAction
.- Parameters:
action
- The action type of this LifetimeAction.
-
-
Method Details
-
getLifetimePercentage
Get the lifetime percentage.- Returns:
- the lifetime percentage
-
setLifetimePercentage
Set the lifetime percentage.- Parameters:
lifetimePercentage
- The lifetime percentage to set- Returns:
- the LifetimeAction object itself.
-
getDaysBeforeExpiry
Get the days before expiry.- Returns:
- the days before expiry
-
setDaysBeforeExpiry
Set the days before expiry.- Parameters:
daysBeforeExpiry
- The days before expiry to set- Returns:
- the LifetimeAction object itself.
-
getAction
Get the lifetime action.- Returns:
- the lifetime action
-