Package com.amazonaws.services.ec2.model
Class VpnConnectionOptionsSpecification
- java.lang.Object
-
- com.amazonaws.services.ec2.model.VpnConnectionOptionsSpecification
-
- All Implemented Interfaces:
Serializable,Cloneable
public class VpnConnectionOptionsSpecification extends Object implements Serializable, Cloneable
Describes VPN connection options.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VpnConnectionOptionsSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VpnConnectionOptionsSpecificationclone()booleanequals(Object obj)BooleangetStaticRoutesOnly()Indicates whether the VPN connection uses static routes only.inthashCode()BooleanisStaticRoutesOnly()Indicates whether the VPN connection uses static routes only.voidsetStaticRoutesOnly(Boolean staticRoutesOnly)Indicates whether the VPN connection uses static routes only.StringtoString()Returns a string representation of this object; useful for testing and debugging.VpnConnectionOptionsSpecificationwithStaticRoutesOnly(Boolean staticRoutesOnly)Indicates whether the VPN connection uses static routes only.
-
-
-
Method Detail
-
setStaticRoutesOnly
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.
- Parameters:
staticRoutesOnly- Indicates whether the VPN connection uses static routes only. Static routes must be used for devices that don't support BGP.
-
getStaticRoutesOnly
public Boolean 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
public VpnConnectionOptionsSpecification withStaticRoutesOnly(Boolean staticRoutesOnly)
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
public Boolean 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VpnConnectionOptionsSpecification clone()
-
-