Class SetMultipleInstancePoliciesResourcesItemPolicyData
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.SetMultipleInstancePoliciesResourcesItemPolicyData
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SetMultipleInstancePoliciesResourcesItemPolicyData extends com.ibm.cloud.sdk.core.service.model.GenericModel
User defined metadata that is associated with any instance policy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetMultipleInstancePoliciesResourcesItemPolicyData.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes
attributes()
Gets the attributes.Boolean
enabled()
Gets the enabled.SetMultipleInstancePoliciesResourcesItemPolicyData.Builder
newBuilder()
New builder.
-
-
-
Method Detail
-
newBuilder
public SetMultipleInstancePoliciesResourcesItemPolicyData.Builder newBuilder()
New builder.- Returns:
- a SetMultipleInstancePoliciesResourcesItemPolicyData builder
-
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 SetMultipleInstancePoliciesResourcesItemPolicyDataAttributes attributes()
Gets the attributes. Attributes associated with any instance policy type. Must be provided if the `enabled` field is `true`. Cannot be provided if the `enabled` field is `false`. Only attributes corresponding to the `policy_type` can be provided.- Returns:
- the attributes
-
-