Package com.amazonaws.services.ec2.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVpnConnectionsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeVpnConnectionsResult
clone()
boolean
equals(Object obj)
List<VpnConnection>
getVpnConnections()
Information about one or more VPN connections.int
hashCode()
void
setVpnConnections(Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeVpnConnectionsResult
withVpnConnections(VpnConnection... vpnConnections)
Information about one or more VPN connections.DescribeVpnConnectionsResult
withVpnConnections(Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
-
-
-
Method Detail
-
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)
orwithVpnConnections(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeVpnConnectionsResult clone()
-
-