@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VpnConnectionOptionsSpecification extends Object implements Serializable, Cloneable
Describes VPN connection options.
| Constructor and Description |
|---|
VpnConnectionOptionsSpecification() |
| Modifier and Type | Method and Description |
|---|---|
VpnConnectionOptionsSpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getStaticRoutesOnly()
Indicate whether the VPN connection uses static routes only.
|
List<VpnTunnelOptionsSpecification> |
getTunnelOptions()
The tunnel options for the VPN connection.
|
int |
hashCode() |
Boolean |
isStaticRoutesOnly()
Indicate whether the VPN connection uses static routes only.
|
void |
setStaticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only.
|
void |
setTunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
VpnConnectionOptionsSpecification |
withStaticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only.
|
VpnConnectionOptionsSpecification |
withTunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
|
VpnConnectionOptionsSpecification |
withTunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions)
The tunnel options for the VPN connection.
|
public void setStaticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device
that does not support BGP, you must specify true.
Default: false
staticRoutesOnly - Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a
device that does not support BGP, you must specify true.
Default: false
public Boolean getStaticRoutesOnly()
Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device
that does not support BGP, you must specify true.
Default: false
true.
Default: false
public VpnConnectionOptionsSpecification withStaticRoutesOnly(Boolean staticRoutesOnly)
Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device
that does not support BGP, you must specify true.
Default: false
staticRoutesOnly - Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a
device that does not support BGP, you must specify true.
Default: false
public Boolean isStaticRoutesOnly()
Indicate whether the VPN connection uses static routes only. If you are creating a VPN connection for a device
that does not support BGP, you must specify true.
Default: false
true.
Default: false
public List<VpnTunnelOptionsSpecification> getTunnelOptions()
The tunnel options for the VPN connection.
public void setTunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
tunnelOptions - The tunnel options for the VPN connection.public VpnConnectionOptionsSpecification withTunnelOptions(VpnTunnelOptionsSpecification... tunnelOptions)
The tunnel options for the VPN connection.
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 - The tunnel options for the VPN connection.public VpnConnectionOptionsSpecification withTunnelOptions(Collection<VpnTunnelOptionsSpecification> tunnelOptions)
The tunnel options for the VPN connection.
tunnelOptions - The tunnel options for the VPN connection.public String toString()
toString in class ObjectObject.toString()public VpnConnectionOptionsSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.