@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 |
getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
List<TunnelOption> |
getTunnelOptions()
Indicates the VPN tunnel options.
|
int |
hashCode() |
Boolean |
isStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
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 |
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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.