public class DescribeVpnGatewaysResult extends Object implements Serializable, Cloneable
Contains the output of DescribeVpnGateways.
Constructor and Description |
---|
DescribeVpnGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpnGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<VpnGateway> |
getVpnGateways()
Information about one or more virtual private gateways.
|
int |
hashCode() |
void |
setVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpnGatewaysResult |
withVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
|
DescribeVpnGatewaysResult |
withVpnGateways(VpnGateway... vpnGateways)
Information about one or more virtual private gateways.
|
public List<VpnGateway> getVpnGateways()
Information about one or more virtual private gateways.
public void setVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
vpnGateways
- Information about one or more virtual private gateways.public DescribeVpnGatewaysResult withVpnGateways(VpnGateway... vpnGateways)
Information about one or more virtual private gateways.
NOTE: This method appends the values to the existing list (if
any). Use setVpnGateways(java.util.Collection)
or
withVpnGateways(java.util.Collection)
if you want to override
the existing values.
vpnGateways
- Information about one or more virtual private gateways.public DescribeVpnGatewaysResult withVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
vpnGateways
- Information about one or more virtual private gateways.public String toString()
toString
in class Object
Object.toString()
public DescribeVpnGatewaysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.