public final class KeyRotationLifetimeAction extends Object
Constructor and Description |
---|
KeyRotationLifetimeAction(KeyRotationPolicyAction type)
Creates a
KeyRotationLifetimeAction . |
Modifier and Type | Method and Description |
---|---|
String |
getTimeAfterCreate()
Get the time after creation to attempt to rotate in ISO 8601 duration format.
|
String |
getTimeBeforeExpiry()
Get the time before expiry to attempt to rotate or notify in ISO 8601 duration format.
|
KeyRotationPolicyAction |
getType()
Get the
type of the action. |
KeyRotationLifetimeAction |
setTimeAfterCreate(String timeAfterCreate)
Set the time after creation to attempt to rotate in ISO 8601 duration format.
|
KeyRotationLifetimeAction |
setTimeBeforeExpiry(String timeBeforeExpiry)
Set the time before expiry to attempt to rotate or notify in ISO 8601 duration format.
|
public KeyRotationLifetimeAction(KeyRotationPolicyAction type)
KeyRotationLifetimeAction
.type
- The type
of the action.public KeyRotationPolicyAction getType()
type
of the action.type
of the action.public String getTimeAfterCreate()
public KeyRotationLifetimeAction setTimeAfterCreate(String timeAfterCreate)
timeAfterCreate
- The time after creation to attempt to rotate.KeyRotationLifetimeAction
object.public String getTimeBeforeExpiry()
public KeyRotationLifetimeAction setTimeBeforeExpiry(String timeBeforeExpiry)
timeBeforeExpiry
- The time before expiry to attempt to rotate or notify.KeyRotationLifetimeAction
object.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.