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