Class GetInstancePoliciesOneOfResourcesItemPolicyData
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.GetInstancePoliciesOneOfResourcesItemPolicyData
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GetInstancePoliciesOneOfResourcesItemPolicyData extends com.ibm.cloud.sdk.core.service.model.GenericModel
User defined metadata that is associated with the `allowedNetwork` instance policy type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetInstancePoliciesOneOfResourcesItemPolicyDataAttributes
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 GetInstancePoliciesOneOfResourcesItemPolicyDataAttributes getAttributes()
Gets the attributes. Data associated with the policy type `allowed_network`.- Returns:
- the attributes
-
-