@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.
|
Boolean |
getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
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 |
setStaticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
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 |
withStaticRoutesOnly(Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
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 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()