Class RotationKeyMetadata

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class RotationKeyMetadata
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Metadata that indicates the status of a rotation policy on the key.
    • Method Detail

      • isEnabled

        public Boolean isEnabled()
        Gets the enabled. If set to `true`, Key Protect enables a rotation policy on a single key.
        Returns:
        the enabled
      • getIntervalMonth

        public Long getIntervalMonth()
        Gets the intervalMonth. Specifies the key rotation time interval in approximate months, where a month is equivalent to 30 days. A minimum of 1 and a maximum of 12 can be set.
        Returns:
        the intervalMonth