@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVpnConnectionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the output of DescribeVpnConnections.
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.
|
DescribeVpnConnectionsResult |
withVpnConnections(Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
|
DescribeVpnConnectionsResult |
withVpnConnections(VpnConnection... vpnConnections)
Information about one or more VPN connections.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<VpnConnection> getVpnConnections()
Information about one or more VPN connections.
public void setVpnConnections(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(Collection<VpnConnection> vpnConnections)
Information about one or more VPN connections.
vpnConnections
- Information about one or more VPN connections.public String toString()
toString
in class Object
Object.toString()
public DescribeVpnConnectionsResult clone()