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 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 clusterNetworkId
      clusterNetworkSubnetPrototype - the clusterNetworkSubnetPrototype
  • Method Details

    • 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