Class CreateVpcAddressPrefixOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateVpcAddressPrefixOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()
Instantiates a new builder.Builder
(String vpcId, String cidr, ZoneIdentity zone) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a CreateVpcAddressPrefixOptions.Set the cidr.Set the isDefault.Set the name.Set the vpcId.zone
(ZoneIdentity zone) Set the zone.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
vpcId
- the vpcIdcidr
- the cidrzone
- the zone
-
-
Method Details
-
build
Builds a CreateVpcAddressPrefixOptions.- Returns:
- the new CreateVpcAddressPrefixOptions instance
-
vpcId
Set the vpcId.- Parameters:
vpcId
- the vpcId- Returns:
- the CreateVpcAddressPrefixOptions builder
-
cidr
Set the cidr.- Parameters:
cidr
- the cidr- Returns:
- the CreateVpcAddressPrefixOptions builder
-
zone
Set the zone.- Parameters:
zone
- the zone- Returns:
- the CreateVpcAddressPrefixOptions builder
-
isDefault
Set the isDefault.- Parameters:
isDefault
- the isDefault- Returns:
- the CreateVpcAddressPrefixOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreateVpcAddressPrefixOptions builder
-