Class SetInstancePoliciesOneOfResourcesItem
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.SetInstancePoliciesOneOfResourcesItem
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SetInstancePoliciesOneOfResourcesItem extends com.ibm.cloud.sdk.core.service.model.GenericModel
SetInstancePoliciesOneOfResourcesItem.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SetInstancePoliciesOneOfResourcesItem.Builder
Builder.static interface
SetInstancePoliciesOneOfResourcesItem.PolicyType
The type of policy to be set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetInstancePoliciesOneOfResourcesItem.Builder
newBuilder()
New builder.InstancePolicyAllowedNetworkPolicyData
policyData()
Gets the policyData.String
policyType()
Gets the policyType.
-
-
-
Method Detail
-
newBuilder
public SetInstancePoliciesOneOfResourcesItem.Builder newBuilder()
New builder.- Returns:
- a SetInstancePoliciesOneOfResourcesItem builder
-
policyType
public String policyType()
Gets the policyType. The type of policy to be set.- Returns:
- the policyType
-
policyData
public InstancePolicyAllowedNetworkPolicyData policyData()
Gets the policyData. User defined metadata that is associated with the `allowedNetwork` instance policy type.- Returns:
- the policyData
-
-