CopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
, SdkBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
public static interface CreateVpnConnectionRequest.Builder extends CopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateVpnConnectionRequest.Builder |
customerGatewayId(String customerGatewayId) |
The ID of the customer gateway.
|
CreateVpnConnectionRequest.Builder |
options(VpnConnectionOptionsSpecification options) |
Indicates whether the VPN connection requires static routes.
|
CreateVpnConnectionRequest.Builder |
type(String type) |
The type of VPN connection (
ipsec.1 ). |
CreateVpnConnectionRequest.Builder |
vpnGatewayId(String vpnGatewayId) |
The ID of the virtual private gateway.
|
copy
apply, build
CreateVpnConnectionRequest.Builder customerGatewayId(String customerGatewayId)
The ID of the customer gateway.
customerGatewayId
- The ID of the customer gateway.CreateVpnConnectionRequest.Builder type(String type)
The type of VPN connection (ipsec.1
).
type
- The type of VPN connection (ipsec.1
).CreateVpnConnectionRequest.Builder vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId
- The ID of the virtual private gateway.CreateVpnConnectionRequest.Builder options(VpnConnectionOptionsSpecification options)
Indicates whether the VPN connection requires static routes. If you are creating a VPN connection for a
device that does not support BGP, you must specify true
.
Default: false
options
- Indicates whether the VPN connection requires static routes. If you are creating a VPN connection for
a device that does not support BGP, you must specify true
.
Default: false
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.