Class InstancePolicyAllowedNetworkPolicyData.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.InstancePolicyAllowedNetworkPolicyData.Builder
-
- Enclosing class:
- InstancePolicyAllowedNetworkPolicyData
public static class InstancePolicyAllowedNetworkPolicyData.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancePolicyAllowedNetworkPolicyData.Builder
attributes(InstancePolicyAllowedNetworkPolicyDataAttributes attributes)
Set the attributes.InstancePolicyAllowedNetworkPolicyData
build()
Builds a InstancePolicyAllowedNetworkPolicyData.InstancePolicyAllowedNetworkPolicyData.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 InstancePolicyAllowedNetworkPolicyData build()
Builds a InstancePolicyAllowedNetworkPolicyData.- Returns:
- the new InstancePolicyAllowedNetworkPolicyData instance
-
enabled
public InstancePolicyAllowedNetworkPolicyData.Builder enabled(Boolean enabled)
Set the enabled.- Parameters:
enabled
- the enabled- Returns:
- the InstancePolicyAllowedNetworkPolicyData builder
-
attributes
public InstancePolicyAllowedNetworkPolicyData.Builder attributes(InstancePolicyAllowedNetworkPolicyDataAttributes attributes)
Set the attributes.- Parameters:
attributes
- the attributes- Returns:
- the InstancePolicyAllowedNetworkPolicyData builder
-
-