Class DescribeVpnConnectionsResult

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

public class DescribeVpnConnectionsResult extends Object implements Serializable, Cloneable

Contains the output of DescribeVpnConnections.

See Also:
  • Constructor Details

    • DescribeVpnConnectionsResult

      public DescribeVpnConnectionsResult()
  • Method Details

    • getVpnConnections

      public List<VpnConnection> getVpnConnections()

      Information about one or more VPN connections.

      Returns:
      Information about one or more VPN connections.
    • setVpnConnections

      public void setVpnConnections(Collection<VpnConnection> vpnConnections)

      Information about one or more VPN connections.

      Parameters:
      vpnConnections - Information about one or more VPN connections.
    • withVpnConnections

      public DescribeVpnConnectionsResult withVpnConnections(VpnConnection... vpnConnections)

      Information about one or more VPN connections.

      NOTE: This method appends the values to the existing list (if any). Use setVpnConnections(java.util.Collection) or withVpnConnections(java.util.Collection) if you want to override the existing values.

      Parameters:
      vpnConnections - Information about one or more VPN connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withVpnConnections

      public DescribeVpnConnectionsResult withVpnConnections(Collection<VpnConnection> vpnConnections)

      Information about one or more VPN connections.

      Parameters:
      vpnConnections - Information about one or more VPN connections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      Overrides:
      clone in class Object