@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVpnGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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()