public class VpnConnectionOptions
extends java.lang.Object
implements java.io.Serializable
Describes VPN connection options.
Constructor and Description |
---|
VpnConnectionOptions() |
Modifier and Type | Method and Description |
---|---|
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.
|
VpnConnectionOptions |
withStaticRoutesOnly(java.lang.Boolean staticRoutesOnly)
Indicates whether the VPN connection uses static routes only.
|
public java.lang.Boolean isStaticRoutesOnly()
public void setStaticRoutesOnly(java.lang.Boolean staticRoutesOnly)
staticRoutesOnly
- Indicates whether the VPN connection uses static routes only. Static
routes must be used for devices that don't support BGP.public VpnConnectionOptions withStaticRoutesOnly(java.lang.Boolean staticRoutesOnly)
Returns a reference to this object so that method calls can be chained together.
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()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.