Class KeyRotationLifetimeAction


  • public final class KeyRotationLifetimeAction
    extends Object
    Represents an action that will be performed by Key Vault over the lifetime of a key.
    • Method Detail

      • getTimeAfterCreate

        public String getTimeAfterCreate()
        Get the time after creation to attempt to rotate in ISO 8601 duration format. For example, 90 days is represented as follows: "P90D".
        Returns:
        The time after creation to attempt to rotate.
      • setTimeAfterCreate

        public KeyRotationLifetimeAction setTimeAfterCreate​(String timeAfterCreate)
        Set the time after creation to attempt to rotate in ISO 8601 duration format. For example, 90 days is represented as follows: "P90D".
        Parameters:
        timeAfterCreate - The time after creation to attempt to rotate.
        Returns:
        The updated KeyRotationLifetimeAction object.
      • getTimeBeforeExpiry

        public String getTimeBeforeExpiry()
        Get the time before expiry to attempt to rotate or notify in ISO 8601 duration format. For example, 90 days is represented as follows: "P90D".
        Returns:
        The time before expiry to attempt to rotate or notify.
      • setTimeBeforeExpiry

        public KeyRotationLifetimeAction setTimeBeforeExpiry​(String timeBeforeExpiry)
        Set the time before expiry to attempt to rotate or notify in ISO 8601 duration format. For example, 90 days is represented as follows: "P90D".
        Parameters:
        timeBeforeExpiry - The time before expiry to attempt to rotate or notify.
        Returns:
        The updated KeyRotationLifetimeAction object.