Trigger Class
- java.
lang. Object - com.
microsoft. azure. keyvault. models. Trigger
- com.
public class Trigger
A condition to be satisfied for an action to be executed.
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
daysBeforeExpiry()
Get the daysBeforeExpiry value. |
Integer |
lifetimePercentage()
Get the lifetimePercentage value. |
Trigger |
withDaysBeforeExpiry(Integer daysBeforeExpiry)
Set the daysBeforeExpiry value. |
Trigger |
withLifetimePercentage(Integer lifetimePercentage)
Set the lifetimePercentage value. |
Method Details
daysBeforeExpiry
public Integer daysBeforeExpiry()
Get the daysBeforeExpiry value.
Returns:
lifetimePercentage
public Integer lifetimePercentage()
Get the lifetimePercentage value.
Returns:
withDaysBeforeExpiry
public Trigger withDaysBeforeExpiry(Integer daysBeforeExpiry)
Set the daysBeforeExpiry value.
Parameters:
Returns:
withLifetimePercentage
public Trigger withLifetimePercentage(Integer lifetimePercentage)
Set the lifetimePercentage value.
Parameters:
Returns:
Applies to
Azure SDK for Java