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