Interface VpnConnectionOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>,SdkBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>,SdkPojo
- Enclosing class:
- VpnConnectionOptions
@Mutable @NotThreadSafe public static interface VpnConnectionOptions.Builder extends SdkPojo, CopyableBuilder<VpnConnectionOptions.Builder,VpnConnectionOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpnConnectionOptions.BuilderenableAcceleration(Boolean enableAcceleration)Indicates whether acceleration is enabled for the VPN connection.VpnConnectionOptions.BuilderlocalIpv4NetworkCidr(String localIpv4NetworkCidr)The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.VpnConnectionOptions.BuilderlocalIpv6NetworkCidr(String localIpv6NetworkCidr)The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.VpnConnectionOptions.BuilderoutsideIpAddressType(String outsideIpAddressType)The type of IPv4 address assigned to the outside interface of the customer gateway.VpnConnectionOptions.BuilderremoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)The IPv4 CIDR on the Amazon Web Services side of the VPN connection.VpnConnectionOptions.BuilderremoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)The IPv6 CIDR on the Amazon Web Services side of the VPN connection.VpnConnectionOptions.BuilderstaticRoutesOnly(Boolean staticRoutesOnly)Indicates whether the VPN connection uses static routes only.VpnConnectionOptions.BuildertransportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)The transit gateway attachment ID in use for the VPN tunnel.VpnConnectionOptions.BuildertunnelInsideIpVersion(String tunnelInsideIpVersion)Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.VpnConnectionOptions.BuildertunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.VpnConnectionOptions.BuildertunnelOptions(Collection<TunnelOption> tunnelOptions)Indicates the VPN tunnel options.VpnConnectionOptions.BuildertunnelOptions(Consumer<TunnelOption.Builder>... tunnelOptions)Indicates the VPN tunnel options.VpnConnectionOptions.BuildertunnelOptions(TunnelOption... tunnelOptions)Indicates the VPN tunnel options.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
enableAcceleration
VpnConnectionOptions.Builder enableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
- Parameters:
enableAcceleration- Indicates whether acceleration is enabled for the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
staticRoutesOnly
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.
- Parameters:
staticRoutesOnly- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localIpv4NetworkCidr
VpnConnectionOptions.Builder localIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
- Parameters:
localIpv4NetworkCidr- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpv4NetworkCidr
VpnConnectionOptions.Builder remoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
- Parameters:
remoteIpv4NetworkCidr- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localIpv6NetworkCidr
VpnConnectionOptions.Builder localIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
- Parameters:
localIpv6NetworkCidr- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpv6NetworkCidr
VpnConnectionOptions.Builder remoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
- Parameters:
remoteIpv6NetworkCidr- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outsideIpAddressType
VpnConnectionOptions.Builder outsideIpAddressType(String outsideIpAddressType)
The type of IPv4 address assigned to the outside interface of the customer gateway.
Valid values:
PrivateIpv4|PublicIpv4|Ipv6Default:
PublicIpv4- Parameters:
outsideIpAddressType- The type of IPv4 address assigned to the outside interface of the customer gateway.Valid values:
PrivateIpv4|PublicIpv4|Ipv6Default:
PublicIpv4- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportTransitGatewayAttachmentId
VpnConnectionOptions.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The transit gateway attachment ID in use for the VPN tunnel.
- Parameters:
transportTransitGatewayAttachmentId- The transit gateway attachment ID in use for the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelInsideIpVersion
VpnConnectionOptions.Builder tunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
- Parameters:
tunnelInsideIpVersion- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TunnelInsideIpVersion,TunnelInsideIpVersion
-
tunnelInsideIpVersion
VpnConnectionOptions.Builder tunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
- Parameters:
tunnelInsideIpVersion- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TunnelInsideIpVersion,TunnelInsideIpVersion
-
tunnelOptions
VpnConnectionOptions.Builder tunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
- Parameters:
tunnelOptions- Indicates the VPN tunnel options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelOptions
VpnConnectionOptions.Builder tunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
- Parameters:
tunnelOptions- Indicates the VPN tunnel options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelOptions
VpnConnectionOptions.Builder tunnelOptions(Consumer<TunnelOption.Builder>... tunnelOptions)
Indicates the VPN tunnel options.
This is a convenience method that creates an instance of theTunnelOption.Builderavoiding the need to create one manually viaTunnelOption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tunnelOptions(List.) - Parameters:
tunnelOptions- a consumer that will call methods onTunnelOption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tunnelOptions(java.util.Collection)
-
-