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