Class KeyPolicyRotationRotation
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.KeyPolicyRotationRotation
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class KeyPolicyRotationRotation extends com.ibm.cloud.sdk.core.service.model.GenericModel
Data associated with the automatic key rotation policy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KeyPolicyRotationRotation.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Gets the enabled.Long
intervalMonth()
Gets the intervalMonth.KeyPolicyRotationRotation.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public KeyPolicyRotationRotation.Builder newBuilder()
New builder.- Returns:
- a KeyPolicyRotationRotation builder
-
enabled
public Boolean enabled()
Gets the enabled. If set to `true`, Key Protect enables a rotation policy on a single key.- Returns:
- the enabled
-
intervalMonth
public Long intervalMonth()
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
-
-