public static interface VpnConnectionOptionsSpecification.Builder extends SdkPojo, CopyableBuilder<VpnConnectionOptionsSpecification.Builder,VpnConnectionOptionsSpecification>
Modifier and Type | Method and Description |
---|---|
VpnConnectionOptionsSpecification.Builder |
enableAcceleration(Boolean enableAcceleration)
Indicate whether to enable acceleration for the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
localIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
localIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
staticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only.
|
VpnConnectionOptionsSpecification.Builder |
tunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
|
VpnConnectionOptionsSpecification.Builder |
tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
|
VpnConnectionOptionsSpecification.Builder |
tunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
tunnelOptions(Consumer<VpnTunnelOptionsSpecification.Builder>... tunnelOptions)
The tunnel options for the VPN connection.
|
VpnConnectionOptionsSpecification.Builder |
tunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions)
The tunnel options for the VPN connection.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
VpnConnectionOptionsSpecification.Builder enableAcceleration(Boolean enableAcceleration)
Indicate whether to enable acceleration for the VPN connection.
Default: false
enableAcceleration
- Indicate whether to enable acceleration for the VPN connection.
Default: false
VpnConnectionOptionsSpecification.Builder staticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a
device that does not support BGP, you must specify true
. Use CreateVpnConnectionRoute to
create a static route.
Default: false
staticRoutesOnly
- Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for
a device that does not support BGP, you must specify true
. Use
CreateVpnConnectionRoute to create a static route.
Default: false
VpnConnectionOptionsSpecification.Builder tunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
Default: ipv4
tunnelInsideIpVersion
- Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
Default: ipv4
TunnelInsideIpVersion
,
TunnelInsideIpVersion
VpnConnectionOptionsSpecification.Builder tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
Default: ipv4
tunnelInsideIpVersion
- Indicate whether the VPN tunnels process IPv4 or IPv6 traffic.
Default: ipv4
TunnelInsideIpVersion
,
TunnelInsideIpVersion
VpnConnectionOptionsSpecification.Builder tunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
tunnelOptions
- The tunnel options for the VPN connection.VpnConnectionOptionsSpecification.Builder tunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions)
The tunnel options for the VPN connection.
tunnelOptions
- The tunnel options for the VPN connection.VpnConnectionOptionsSpecification.Builder tunnelOptions(Consumer<VpnTunnelOptionsSpecification.Builder>... tunnelOptions)
The tunnel options for the VPN connection.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #tunnelOptions(List)
.tunnelOptions
- a consumer that will call methods on List.Builder
#tunnelOptions(List)
VpnConnectionOptionsSpecification.Builder localIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
localIpv4NetworkCidr
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
VpnConnectionOptionsSpecification.Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
remoteIpv4NetworkCidr
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
VpnConnectionOptionsSpecification.Builder localIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
localIpv6NetworkCidr
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
VpnConnectionOptionsSpecification.Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
remoteIpv6NetworkCidr
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
Copyright © 2021. All rights reserved.