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