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