@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeVirtualGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A structure containing a list of virtual private gateways.
Constructor and Description |
---|
DescribeVirtualGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVirtualGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<VirtualGateway> |
getVirtualGateways()
A list of virtual private gateways.
|
int |
hashCode() |
void |
setVirtualGateways(Collection<VirtualGateway> virtualGateways)
A list of virtual private gateways.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeVirtualGatewaysResult |
withVirtualGateways(Collection<VirtualGateway> virtualGateways)
A list of virtual private gateways.
|
DescribeVirtualGatewaysResult |
withVirtualGateways(VirtualGateway... virtualGateways)
A list of virtual private gateways.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<VirtualGateway> getVirtualGateways()
A list of virtual private gateways.
public void setVirtualGateways(Collection<VirtualGateway> virtualGateways)
A list of virtual private gateways.
virtualGateways
- A list of virtual private gateways.public DescribeVirtualGatewaysResult withVirtualGateways(VirtualGateway... virtualGateways)
A list of virtual private gateways.
NOTE: This method appends the values to the existing list (if any). Use
setVirtualGateways(java.util.Collection)
or withVirtualGateways(java.util.Collection)
if you
want to override the existing values.
virtualGateways
- A list of virtual private gateways.public DescribeVirtualGatewaysResult withVirtualGateways(Collection<VirtualGateway> virtualGateways)
A list of virtual private gateways.
virtualGateways
- A list of virtual private gateways.public String toString()
toString
in class Object
Object.toString()
public DescribeVirtualGatewaysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.