Class InstancePolicyProperties
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.InstancePolicyProperties
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class InstancePolicyProperties extends com.ibm.cloud.sdk.core.service.model.GenericModel
User defined metadata that is associated with any instance policy.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePolicyPropertiesAttributes
getAttributes()
Gets the attributes.Boolean
isEnabled()
Gets the enabled.
-
-
-
Method Detail
-
isEnabled
public Boolean isEnabled()
Gets the enabled. If set to `true`, Key Protect enables the specified policy for your service instance. If set to `false`, Key Protect disables the specified policy for your service instance, and the policy will no longer affect Key Protect actions. **Note:** If a policy with attributes is disabled, all attributes are reset and are not retained.- Returns:
- the enabled
-
getAttributes
public InstancePolicyPropertiesAttributes getAttributes()
Gets the attributes. Attributes associated with any instance policy type.- Returns:
- the attributes
-
-