com.amazonaws.services.ec2.model
Class DescribeInternetGatewaysResult

java.lang.Object
  extended by com.amazonaws.services.ec2.model.DescribeInternetGatewaysResult
All Implemented Interfaces:
Serializable

public class DescribeInternetGatewaysResult
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
DescribeInternetGatewaysResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<InternetGateway> getInternetGateways()
          Information about one or more Internet gateways.
 int hashCode()
           
 void setInternetGateways(Collection<InternetGateway> internetGateways)
          Information about one or more Internet gateways.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
          Information about one or more Internet gateways.
 DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
          Information about one or more Internet gateways.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeInternetGatewaysResult

public DescribeInternetGatewaysResult()
Method Detail

getInternetGateways

public List<InternetGateway> getInternetGateways()
Information about one or more Internet gateways.

Returns:
Information about one or more Internet gateways.

setInternetGateways

public void setInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.

Parameters:
internetGateways - Information about one or more Internet gateways.

withInternetGateways

public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Information about one or more Internet gateways.

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

Parameters:
internetGateways - Information about one or more Internet gateways.
Returns:
A reference to this updated object so that method calls can be chained together.

withInternetGateways

public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.

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

Parameters:
internetGateways - Information about one or more Internet gateways.
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()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.