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