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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder(SubnetPrototype subnetPrototype)
      Instantiates a new builder with required properties.
      Parameters:
      subnetPrototype - the subnetPrototype
  • Method Details

    • 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