Class RotationKeyMetadata
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getIntervalMonth()
Gets the intervalMonth.Boolean
isEnabled()
Gets the enabled.
-
-
-
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
-
-