@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpnConnectionOptions extends Object implements Serializable, Cloneable
Describes VPN connection options.
Constructor and Description |
---|
VpnConnectionOptions() |
Modifier and Type | Method and Description |
---|---|
VpnConnectionOptions |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnableAcceleration()
Indicates whether acceleration is enabled for the VPN connection.
|
String |
getLocalIpv4NetworkCidr()
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
String |
getLocalIpv6NetworkCidr()
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
String |
getRemoteIpv4NetworkCidr()
The IPv4 CIDR on the AWS side of the VPN connection.
|
String |
getRemoteIpv6NetworkCidr()
The IPv6 CIDR on the AWS side of the VPN connection.
|
Boolean |
getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
String |
getTunnelInsideIpVersion()
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
List<TunnelOption> |
getTunnelOptions()
Indicates the VPN tunnel options.
|
int |
hashCode() |
Boolean |
isEnableAcceleration()
Indicates whether acceleration is enabled for the VPN connection.
|
Boolean |
isStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
void |
setEnableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
|
void |
setLocalIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
void |
setLocalIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
void |
setRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the AWS side of the VPN connection.
|
void |
setRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the AWS side of the VPN connection.
|
void |
setStaticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
void |
setTunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
void |
setTunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
|
String |
toString()
Returns a string representation of this object.
|
VpnConnectionOptions |
withEnableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
|
VpnConnectionOptions |
withLocalIpv4NetworkCidr(String localIpv4NetworkCidr)
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
VpnConnectionOptions |
withLocalIpv6NetworkCidr(String localIpv6NetworkCidr)
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
|
VpnConnectionOptions |
withRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the AWS side of the VPN connection.
|
VpnConnectionOptions |
withRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the AWS side of the VPN connection.
|
VpnConnectionOptions |
withStaticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
VpnConnectionOptions |
withTunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
VpnConnectionOptions |
withTunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
|
VpnConnectionOptions |
withTunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
|
VpnConnectionOptions |
withTunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
|
public void setEnableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
enableAcceleration
- Indicates whether acceleration is enabled for the VPN connection.public Boolean getEnableAcceleration()
Indicates whether acceleration is enabled for the VPN connection.
public VpnConnectionOptions withEnableAcceleration(Boolean enableAcceleration)
Indicates whether acceleration is enabled for the VPN connection.
enableAcceleration
- Indicates whether acceleration is enabled for the VPN connection.public Boolean isEnableAcceleration()
Indicates whether acceleration is enabled for the VPN connection.
public void setStaticRoutesOnly(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.public Boolean getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
public VpnConnectionOptions withStaticRoutesOnly(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.public Boolean isStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
public void setLocalIpv4NetworkCidr(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.public String getLocalIpv4NetworkCidr()
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
public VpnConnectionOptions withLocalIpv4NetworkCidr(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.public void setRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the AWS side of the VPN connection.
remoteIpv4NetworkCidr
- The IPv4 CIDR on the AWS side of the VPN connection.public String getRemoteIpv4NetworkCidr()
The IPv4 CIDR on the AWS side of the VPN connection.
public VpnConnectionOptions withRemoteIpv4NetworkCidr(String remoteIpv4NetworkCidr)
The IPv4 CIDR on the AWS side of the VPN connection.
remoteIpv4NetworkCidr
- The IPv4 CIDR on the AWS side of the VPN connection.public void setLocalIpv6NetworkCidr(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.public String getLocalIpv6NetworkCidr()
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
public VpnConnectionOptions withLocalIpv6NetworkCidr(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.public void setRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the AWS side of the VPN connection.
remoteIpv6NetworkCidr
- The IPv6 CIDR on the AWS side of the VPN connection.public String getRemoteIpv6NetworkCidr()
The IPv6 CIDR on the AWS side of the VPN connection.
public VpnConnectionOptions withRemoteIpv6NetworkCidr(String remoteIpv6NetworkCidr)
The IPv6 CIDR on the AWS side of the VPN connection.
remoteIpv6NetworkCidr
- The IPv6 CIDR on the AWS side of the VPN connection.public void setTunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
tunnelInsideIpVersion
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.TunnelInsideIpVersion
public String getTunnelInsideIpVersion()
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
TunnelInsideIpVersion
public VpnConnectionOptions withTunnelInsideIpVersion(String tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
tunnelInsideIpVersion
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.TunnelInsideIpVersion
public VpnConnectionOptions withTunnelInsideIpVersion(TunnelInsideIpVersion tunnelInsideIpVersion)
Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.
tunnelInsideIpVersion
- Indicates whether the VPN tunnels process IPv4 or IPv6 traffic.TunnelInsideIpVersion
public List<TunnelOption> getTunnelOptions()
Indicates the VPN tunnel options.
public void setTunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
tunnelOptions
- Indicates the VPN tunnel options.public VpnConnectionOptions withTunnelOptions(TunnelOption... tunnelOptions)
Indicates the VPN tunnel options.
NOTE: This method appends the values to the existing list (if any). Use
setTunnelOptions(java.util.Collection)
or withTunnelOptions(java.util.Collection)
if you want
to override the existing values.
tunnelOptions
- Indicates the VPN tunnel options.public VpnConnectionOptions withTunnelOptions(Collection<TunnelOption> tunnelOptions)
Indicates the VPN tunnel options.
tunnelOptions
- Indicates the VPN tunnel options.public String toString()
toString
in class Object
Object.toString()
public VpnConnectionOptions clone()