Class KeyPolicyRotationNonRequiredRotation
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.KeyPolicyRotationNonRequiredRotation
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class KeyPolicyRotationNonRequiredRotation extends com.ibm.cloud.sdk.core.service.model.GenericModel
Data associated with the automatic key rotation policy.
-
-
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 standardized to 30 days each. A minimum of 1 and a maximum of 12 can be set.- Returns:
- the intervalMonth
-
-