Class SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder
-
- Enclosing class:
- SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem
public static class SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String policyType, MetricsProperties policyData)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem
build()
Builds a SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder
policyData(MetricsProperties policyData)
Set the policyData.SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder
policyType(String policyType)
Set the policyType.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String policyType, MetricsProperties policyData)
Instantiates a new builder with required properties.- Parameters:
policyType
- the policyTypepolicyData
- the policyData
-
-
Method Detail
-
build
public SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem build()
Builds a SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.- Returns:
- the new SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem instance
-
policyType
public SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder policyType(String policyType)
Set the policyType.- Parameters:
policyType
- the policyType- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem builder
-
policyData
public SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem.Builder policyData(MetricsProperties policyData)
Set the policyData.- Parameters:
policyData
- the policyData- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyMetricsResourcesItem builder
-
-