Class VpnConnectionOptions

java.lang.Object
com.amazonaws.services.ec2.model.VpnConnectionOptions
All Implemented Interfaces:
Serializable, Cloneable

public class VpnConnectionOptions extends Object implements Serializable, Cloneable

Describes VPN connection options.

See Also:
  • Constructor Details

    • VpnConnectionOptions

      public VpnConnectionOptions()
  • Method Details

    • 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 VpnConnectionOptions 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public VpnConnectionOptions clone()
      Overrides:
      clone in class Object