public final class LifetimeAction extends Object
CertificatePolicy| Constructor and Description |
|---|
LifetimeAction(CertificatePolicyAction action)
Creates a new LifetimeAction instance, with the provided
CertificatePolicyAction. |
| Modifier and Type | Method and Description |
|---|---|
CertificatePolicyAction |
getAction()
Get the lifetime action.
|
Integer |
getDaysBeforeExpiry()
Get the days before expiry.
|
Integer |
getLifetimePercentage()
Get the lifetime percentage.
|
LifetimeAction |
setDaysBeforeExpiry(Integer daysBeforeExpiry)
Set the days before expiry.
|
LifetimeAction |
setLifetimePercentage(Integer lifetimePercentage)
Set the lifetime percentage.
|
public LifetimeAction(CertificatePolicyAction action)
CertificatePolicyAction.action - The action type of this LifetimeAction.public Integer getLifetimePercentage()
public LifetimeAction setLifetimePercentage(Integer lifetimePercentage)
lifetimePercentage - The lifetime percentage to setpublic Integer getDaysBeforeExpiry()
public LifetimeAction setDaysBeforeExpiry(Integer daysBeforeExpiry)
daysBeforeExpiry - The days before expiry to setpublic CertificatePolicyAction getAction()
Copyright © 2021 Microsoft Corporation. All rights reserved.