Package com.amazonaws.services.ec2.model
Class VpnConnectionOptionsSpecification
java.lang.Object
com.amazonaws.services.ec2.model.VpnConnectionOptionsSpecification
- All Implemented Interfaces:
Serializable
,Cloneable
Describes VPN connection options.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates whether the VPN connection uses static routes only.int
hashCode()
Indicates whether the VPN connection uses static routes only.void
setStaticRoutesOnly
(Boolean staticRoutesOnly) Indicates whether the VPN connection uses static routes only.toString()
Returns a string representation of this object; useful for testing and debugging.withStaticRoutesOnly
(Boolean staticRoutesOnly) Indicates whether the VPN connection uses static routes only.
-
Constructor Details
-
VpnConnectionOptionsSpecification
public VpnConnectionOptionsSpecification()
-
-
Method Details
-
setStaticRoutesOnly
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
- Parameters:
staticRoutesOnly
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
-
getStaticRoutesOnly
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
- Returns:
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
-
withStaticRoutesOnly
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
- Parameters:
staticRoutesOnly
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isStaticRoutesOnly
Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
- Returns:
- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-