Package com.ibm.cloud.is.vpc.v1.model
Class SecurityGroupRuleLocalPatchCIDR.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.SecurityGroupRuleLocalPatchCIDR.Builder
-
- Enclosing class:
- SecurityGroupRuleLocalPatchCIDR
public static class SecurityGroupRuleLocalPatchCIDR.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(SecurityGroupRuleLocalPatch securityGroupRuleLocalPatchCidr)
Instantiates a new Builder from an existing SecurityGroupRuleLocalPatchCIDR instance.Builder(String cidrBlock)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityGroupRuleLocalPatchCIDR
build()
Builds a SecurityGroupRuleLocalPatchCIDR.SecurityGroupRuleLocalPatchCIDR.Builder
cidrBlock(String cidrBlock)
Set the cidrBlock.
-
-
-
Constructor Detail
-
Builder
public Builder(SecurityGroupRuleLocalPatch securityGroupRuleLocalPatchCidr)
Instantiates a new Builder from an existing SecurityGroupRuleLocalPatchCIDR instance.- Parameters:
securityGroupRuleLocalPatchCidr
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String cidrBlock)
Instantiates a new builder with required properties.- Parameters:
cidrBlock
- the cidrBlock
-
-
Method Detail
-
build
public SecurityGroupRuleLocalPatchCIDR build()
Builds a SecurityGroupRuleLocalPatchCIDR.- Returns:
- the new SecurityGroupRuleLocalPatchCIDR instance
-
cidrBlock
public SecurityGroupRuleLocalPatchCIDR.Builder cidrBlock(String cidrBlock)
Set the cidrBlock.- Parameters:
cidrBlock
- the cidrBlock- Returns:
- the SecurityGroupRuleLocalPatchCIDR builder
-
-