Package com.ibm.cloud.is.vpc.v1.model
Class CreateSubnetOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateSubnetOptions.Builder
-
- Enclosing class:
- CreateSubnetOptions
public static class CreateSubnetOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(SubnetPrototype subnetPrototype)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSubnetOptions
build()
Builds a CreateSubnetOptions.CreateSubnetOptions.Builder
subnetPrototype(SubnetPrototype subnetPrototype)
Set the subnetPrototype.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(SubnetPrototype subnetPrototype)
Instantiates a new builder with required properties.- Parameters:
subnetPrototype
- the subnetPrototype
-
-
Method Detail
-
build
public CreateSubnetOptions build()
Builds a CreateSubnetOptions.- Returns:
- the new CreateSubnetOptions instance
-
subnetPrototype
public CreateSubnetOptions.Builder subnetPrototype(SubnetPrototype subnetPrototype)
Set the subnetPrototype.- Parameters:
subnetPrototype
- the subnetPrototype- Returns:
- the CreateSubnetOptions builder
-
-