LifetimeAction Class
- java.
lang. Object - com.
microsoft. azure. keyvault. models. LifetimeAction
- com.
public class LifetimeAction
Action and its trigger that will be performed by Key Vault over the lifetime of a certificate.
Method Summary
Modifier and Type | Method and Description |
---|---|
Action |
action()
Get the action value. |
Trigger |
trigger()
Get the trigger value. |
Lifetime |
withAction(Action action)
Set the action value. |
Lifetime |
withTrigger(Trigger trigger)
Set the trigger value. |
Method Details
action
public Action action()
Get the action value.
Returns:
the action value
trigger
public Trigger trigger()
Get the trigger value.
Returns:
the trigger value
withAction
public LifetimeAction withAction(Action action)
Set the action value.
Parameters:
action
- the action value to set
Returns:
the LifetimeAction object itself.
withTrigger
public LifetimeAction withTrigger(Trigger trigger)
Set the trigger value.
Parameters:
trigger
- the trigger value to set
Returns:
the LifetimeAction object itself.