public class DescribeInternetGatewaysResult extends Object implements Serializable
Constructor and Description |
---|
DescribeInternetGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<InternetGateway> |
getInternetGateways()
Returns the value of the InternetGateways property for this object.
|
int |
hashCode() |
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.
|
public List<InternetGateway> getInternetGateways()
public void setInternetGateways(Collection<InternetGateway> internetGateways)
internetGateways
- The new value for the InternetGateways property for this object.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Returns a reference to this object so that method calls can be chained together.
internetGateways
- The new value for the InternetGateways property for this object.public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Returns a reference to this object so that method calls can be chained together.
internetGateways
- The new value for the InternetGateways property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.