public static interface VpnConnectionOptions.Builder extends SdkPojo, CopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>
Modifier and Type | Method and Description |
---|---|
VpnConnectionOptions.Builder |
enableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
|
VpnConnectionOptions.Builder |
localIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
VpnConnectionOptions.Builder |
localIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
VpnConnectionOptions.Builder |
outsideIpAddressType(String outsideIpAddressType)
The type of IPv4 address assigned to the outside interface of the customer gateway.
|
VpnConnectionOptions.Builder |
remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
|
VpnConnectionOptions.Builder |
remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
|
VpnConnectionOptions.Builder |
staticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
VpnConnectionOptions.Builder |
transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The transit gateway attachment ID in use for the VPN tunnel.
|
VpnConnectionOptions.Builder |
tunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
VpnConnectionOptions.Builder |
tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
VpnConnectionOptions.Builder |
tunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
|
VpnConnectionOptions.Builder |
tunnelOptions(Consumer<TunnelOption.Builder>... tunnelOptions)
Indicates the VPN tunnel options.
|
VpnConnectionOptions.Builder |
tunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
VpnConnectionOptions.Builder enableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
enableAcceleration
- Indicates whether acceleration is enabled for the VPN connection.VpnConnectionOptions.Builder staticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
staticRoutesOnly
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices
that don't support BGP.VpnConnectionOptions.Builder localIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
localIpv4NetworkCidr
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.VpnConnectionOptions.Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
remoteIpv4NetworkCidr
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.VpnConnectionOptions.Builder localIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
localIpv6NetworkCidr
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.VpnConnectionOptions.Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
remoteIpv6NetworkCidr
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.VpnConnectionOptions.Builder outsideIpAddressType(String outsideIpAddressType)
The type of IPv4 address assigned to the outside interface of the customer gateway.
Valid values: PrivateIpv4
| PublicIpv4
Default: PublicIpv4
outsideIpAddressType
- The type of IPv4 address assigned to the outside interface of the customer gateway.
Valid values: PrivateIpv4
| PublicIpv4
Default: PublicIpv4
VpnConnectionOptions.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The transit gateway attachment ID in use for the VPN tunnel.
transportTransitGatewayAttachmentId
- The transit gateway attachment ID in use for the VPN tunnel.VpnConnectionOptions.Builder tunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
tunnelInsideIpVersion
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.TunnelInsideIpVersion
,
TunnelInsideIpVersion
VpnConnectionOptions.Builder tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
tunnelInsideIpVersion
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.TunnelInsideIpVersion
,
TunnelInsideIpVersion
VpnConnectionOptions.Builder tunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
tunnelOptions
- Indicates the VPN tunnel options.VpnConnectionOptions.Builder tunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
tunnelOptions
- Indicates the VPN tunnel options.VpnConnectionOptions.Builder tunnelOptions(Consumer<TunnelOption.Builder>... tunnelOptions)
Indicates the VPN tunnel options.
This is a convenience method that creates an instance of theTunnelOption.Builder
avoiding the need to create one
manually via TunnelOption.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and its
result is passed to #tunnelOptions(List
.
tunnelOptions
- a consumer that will call methods on
TunnelOption.Builder
#tunnelOptions(java.util.Collection)
Copyright © 2023. All rights reserved.