Class CreateVpnGatewayOptions.Builder

java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateVpnGatewayOptions.Builder
Enclosing class:
CreateVpnGatewayOptions

public static class CreateVpnGatewayOptions.Builder extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public CreateVpnGatewayOptions build()
      Builds a CreateVpnGatewayOptions.
      Returns:
      the new CreateVpnGatewayOptions instance
    • vpnGatewayPrototype

      public CreateVpnGatewayOptions.Builder vpnGatewayPrototype(VPNGatewayPrototype vpnGatewayPrototype)
      Set the vpnGatewayPrototype.
      Parameters:
      vpnGatewayPrototype - the vpnGatewayPrototype
      Returns:
      the CreateVpnGatewayOptions builder