public class DescribeVpnGatewaysResult
extends java.lang.Object
implements java.io.Serializable
Contains the output of DescribeVpnGateways.
Constructor and Description |
---|
DescribeVpnGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.util.List<VpnGateway> getVpnGateways()
public void setVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
vpnGateways
- Information about one or more virtual private gateways.public DescribeVpnGatewaysResult withVpnGateways(VpnGateway... vpnGateways)
Returns a reference to this object so that method calls can be chained together.
vpnGateways
- Information about one or more virtual private gateways.public DescribeVpnGatewaysResult withVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
Returns a reference to this object so that method calls can be chained together.
vpnGateways
- Information about one or more virtual private gateways.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.