public class DescribeVpnConnectionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpnConnections.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<VpnConnection> |
vpnConnections
Information about one or more VPN connections.
|
Constructor and Description |
---|
DescribeVpnConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpnConnectionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<VpnConnection> |
getVpnConnections()
Information about one or more VPN connections.
|
int |
hashCode() |
void |
setVpnConnections(java.util.Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpnConnectionsResult |
withVpnConnections(java.util.Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
|
DescribeVpnConnectionsResult |
withVpnConnections(VpnConnection... vpnConnections)
Information about one or more VPN connections.
|
private SdkInternalList<VpnConnection> vpnConnections
Information about one or more VPN connections.
public java.util.List<VpnConnection> getVpnConnections()
Information about one or more VPN connections.
public void setVpnConnections(java.util.Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
vpnConnections
- Information about one or more VPN connections.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.
vpnConnections
- Information about one or more VPN connections.public DescribeVpnConnectionsResult withVpnConnections(java.util.Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
vpnConnections
- Information about one or more VPN connections.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVpnConnectionsResult clone()
clone
in class java.lang.Object