Class SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.Builder
-
- Enclosing class:
- SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem
public static class SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.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 SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem
build()
Builds a SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.Builder
policyData(InstancePolicyAllowedNetworkPolicyData policyData)
Set the policyData.SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.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 SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem build()
Builds a SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.- Returns:
- the new SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem instance
-
policyType
public SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.Builder policyType(String policyType)
Set the policyType.- Parameters:
policyType
- the policyType- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem builder
-
policyData
public SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem.Builder policyData(InstancePolicyAllowedNetworkPolicyData policyData)
Set the policyData.- Parameters:
policyData
- the policyData- Returns:
- the SetInstancePoliciesOneOfSetInstancePolicyAllowedNetworkResourcesItem builder
-
-