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