Package com.amazonaws.services.ec2.model
Class DescribeVpnGatewaysResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.DescribeVpnGatewaysResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeVpnGatewaysResult extends Object implements Serializable, Cloneable
Contains the output of DescribeVpnGateways.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeVpnGatewaysResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(VpnGateway... vpnGateways)
Information about one or more virtual private gateways.DescribeVpnGatewaysResult
withVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
-
-
-
Method Detail
-
getVpnGateways
public List<VpnGateway> getVpnGateways()
Information about one or more virtual private gateways.
- Returns:
- Information about one or more virtual private gateways.
-
setVpnGateways
public void setVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
- Parameters:
vpnGateways
- Information about one or more virtual private gateways.
-
withVpnGateways
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)
orwithVpnGateways(java.util.Collection)
if you want to override the existing values.- Parameters:
vpnGateways
- Information about one or more virtual private gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpnGateways
public DescribeVpnGatewaysResult withVpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
- Parameters:
vpnGateways
- Information about one or more virtual private gateways.- 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 DescribeVpnGatewaysResult clone()
-
-