Class InstancePolicyKeyCreateImportAccessPolicyData

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class InstancePolicyKeyCreateImportAccessPolicyData
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    User defined metadata that is associated with the `keyCreateImportAccess` instance policy type.
    • Method Detail

      • enabled

        public Boolean enabled()
        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
      • attributes

        public InstancePolicyKeyCreateImportAccessPolicyDataAttributes attributes()
        Gets the attributes. Attributes of a `keyCreateImportAccess` instance policy. Must be provided if the `enabled` field is `true`. Cannot be provided if the `enabled` field is `false`.
        Returns:
        the attributes