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