com.amazonaws.services.ec2.model
Class DescribeInternetGatewaysResult

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

public class DescribeInternetGatewaysResult
extends Object

Describe Internet Gateways Result


Constructor Summary
DescribeInternetGatewaysResult()
           
 
Method Summary
 List<InternetGateway> getInternetGateways()
          Returns the value of the InternetGateways property for this object.
 void setInternetGateways(Collection<InternetGateway> internetGateways)
          Sets the value of the InternetGateways property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
          Sets the value of the InternetGateways property for this object.
 DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
          Sets the value of the InternetGateways property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInternetGatewaysResult

public DescribeInternetGatewaysResult()
Method Detail

getInternetGateways

public List<InternetGateway> getInternetGateways()
Returns the value of the InternetGateways property for this object.

Returns:
The value of the InternetGateways property for this object.

setInternetGateways

public void setInternetGateways(Collection<InternetGateway> internetGateways)
Sets the value of the InternetGateways property for this object.

Parameters:
internetGateways - The new value for the InternetGateways property for this object.

withInternetGateways

public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Sets the value of the InternetGateways property for this object.

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

Parameters:
internetGateways - The new value for the InternetGateways property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

withInternetGateways

public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Sets the value of the InternetGateways property for this object.

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

Parameters:
internetGateways - The new value for the InternetGateways property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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


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