public class KeyRotationPolicyProperties extends Object
lifetimeActions
to an empty
array.KeyRotationPolicy
Modifier and Type | Field and Description |
---|---|
protected String |
expiryTime |
protected List<KeyRotationLifetimeAction> |
keyRotationLifetimeActions |
Constructor and Description |
---|
KeyRotationPolicyProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getExpiryTime()
Get the optional key expiration period used to define the duration after which a newly rotated key will expire.
|
List<KeyRotationLifetimeAction> |
getLifetimeActions()
Get the actions that will be performed by Key Vault over the lifetime of a key.
|
KeyRotationPolicyProperties |
setExpiryTime(String expiryTime)
Set the optional key expiration period used to define the duration after which a newly rotated key will expire.
|
KeyRotationPolicyProperties |
setLifetimeActions(List<KeyRotationLifetimeAction> keyRotationLifetimeActions)
Set the actions that will be performed by Key Vault over the lifetime of a key.
|
protected String expiryTime
protected List<KeyRotationLifetimeAction> keyRotationLifetimeActions
public String getExpiryTime()
public KeyRotationPolicyProperties setExpiryTime(String expiryTime)
expiryTime
- The expiry time to set in ISO 8601 format.KeyRotationPolicyProperties
object.public List<KeyRotationLifetimeAction> getLifetimeActions()
You may also pass an empty array to restore to its default values.
public KeyRotationPolicyProperties setLifetimeActions(List<KeyRotationLifetimeAction> keyRotationLifetimeActions)
You may also pass an empty array to restore to its default values.
keyRotationLifetimeActions
- The actions
to set.KeyRotationPolicyProperties
object.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.