public class DescribeVpnGatewaysResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpnGateways.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<VpnGateway> |
vpnGateways
Information about one or more virtual private gateways.
|
Constructor and Description |
---|
DescribeVpnGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpnGatewaysResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<VpnGateway> |
getVpnGateways()
Information about one or more virtual private gateways.
|
int |
hashCode() |
void |
setVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpnGatewaysResult |
withVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
|
DescribeVpnGatewaysResult |
withVpnGateways(VpnGateway... vpnGateways)
Information about one or more virtual private gateways.
|
private SdkInternalList<VpnGateway> vpnGateways
Information about one or more virtual private gateways.
public java.util.List<VpnGateway> getVpnGateways()
Information about one or more virtual private gateways.
public void setVpnGateways(java.util.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(java.util.Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
vpnGateways
- Information about one or more virtual private gateways.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 DescribeVpnGatewaysResult clone()
clone
in class java.lang.Object