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