public class DescribeVpnConnectionsResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeVpnConnectionsResult() |
Modifier and Type | Method and 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(Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
|
DescribeVpnConnectionsResult |
withVpnConnections(VpnConnection... vpnConnections)
Information about one or more VPN connections.
|
public List<VpnConnection> getVpnConnections()
public void setVpnConnections(Collection<VpnConnection> vpnConnections)
vpnConnections
- Information about one or more VPN connections.public DescribeVpnConnectionsResult withVpnConnections(VpnConnection... vpnConnections)
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.
Returns a reference to this object so that method calls can be chained together.
vpnConnections
- Information about one or more VPN connections.public DescribeVpnConnectionsResult withVpnConnections(Collection<VpnConnection> vpnConnections)
Returns a reference to this object so that method calls can be chained together.
vpnConnections
- Information about one or more VPN connections.public String toString()
toString
in class Object
Object.toString()
public DescribeVpnConnectionsResult clone()
Copyright © 2015. All rights reserved.