com.amazonaws.services.ec2.model
Class DescribeVpnGatewaysResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeVpnGatewaysResult

public class DescribeVpnGatewaysResult
extends java.lang.Object


Constructor Summary
DescribeVpnGatewaysResult()
           
 
Method Summary
 java.util.List<VpnGateway> getVpnGateways()
           
 void setVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
           
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVpnGatewaysResult withVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
           Returns a reference to this object so that method calls can be chained together.
 DescribeVpnGatewaysResult withVpnGateways(VpnGateway... vpnGateways)
           Returns a reference to this object so that method calls can be chained together.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVpnGatewaysResult

public DescribeVpnGatewaysResult()
Method Detail

getVpnGateways

public java.util.List<VpnGateway> getVpnGateways()
Returns:

setVpnGateways

public void setVpnGateways(java.util.Collection<VpnGateway> vpnGateways)
Parameters:
vpnGateways -

withVpnGateways

public DescribeVpnGatewaysResult withVpnGateways(VpnGateway... vpnGateways)

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpnGateways -
Returns:
A reference to this updated object so that method calls can be chained together.

withVpnGateways

public DescribeVpnGatewaysResult withVpnGateways(java.util.Collection<VpnGateway> vpnGateways)

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpnGateways -
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.