Class CreateClusterNetworkSubnetOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateClusterNetworkSubnetOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()Instantiates a new builder.Builder(String clusterNetworkId, ClusterNetworkSubnetPrototype clusterNetworkSubnetPrototype) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds a CreateClusterNetworkSubnetOptions.clusterNetworkId(String clusterNetworkId) Set the clusterNetworkId.clusterNetworkSubnetPrototype(ClusterNetworkSubnetPrototype clusterNetworkSubnetPrototype) Set the clusterNetworkSubnetPrototype.
-
Constructor Details
-
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 Details
-
build
Builds a CreateClusterNetworkSubnetOptions.- Returns:
- the new CreateClusterNetworkSubnetOptions instance
-
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
-