public class VpnConnectionOptionsSpecification
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes VPN connection options.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
staticRoutesOnly
Indicates whether the VPN connection uses static routes only.
|
Constructor and Description |
---|
VpnConnectionOptionsSpecification() |
Modifier and Type | Method and Description |
---|---|
VpnConnectionOptionsSpecification |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
int |
hashCode() |
java.lang.Boolean |
isStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only.
|
void |
setStaticRoutesOnly(java.lang.Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VpnConnectionOptionsSpecification |
withStaticRoutesOnly(java.lang.Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
private java.lang.Boolean staticRoutesOnly
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
public void setStaticRoutesOnly(java.lang.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 java.lang.Boolean getStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
public VpnConnectionOptionsSpecification withStaticRoutesOnly(java.lang.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 java.lang.Boolean isStaticRoutesOnly()
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VpnConnectionOptionsSpecification clone()
clone
in class java.lang.Object