Class InstancePolicyRotationPolicyDataAttributes
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.InstancePolicyRotationPolicyDataAttributes
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstancePolicyRotationPolicyDataAttributes extends com.ibm.cloud.sdk.core.service.model.GenericModel
Attributes of a `rotation` instance policy. Must be provided if the `enabled` field is `true`. Cannot be provided if the `enabled` field is `false`.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstancePolicyRotationPolicyDataAttributes.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
intervalMonth()
Gets the intervalMonth.InstancePolicyRotationPolicyDataAttributes.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public InstancePolicyRotationPolicyDataAttributes.Builder newBuilder()
New builder.- Returns:
- a InstancePolicyRotationPolicyDataAttributes builder
-
intervalMonth
public Long intervalMonth()
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
-
-