public class DescribeInternetGatewaysResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInternetGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInternetGatewaysResult |
clone() |
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.
|
public List<InternetGateway> getInternetGateways()
public void setInternetGateways(Collection<InternetGateway> internetGateways)
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
NOTE: This method appends the values to the existing list (if
any). Use setInternetGateways(java.util.Collection)
or withInternetGateways(java.util.Collection)
if you want to override
the existing values.
Returns a reference to this object so that method calls can be chained together.
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Returns a reference to this object so that method calls can be chained together.
internetGateways
- Information about one or more Internet gateways.public String toString()
toString
in class Object
Object.toString()
public DescribeInternetGatewaysResult clone()
Copyright © 2015. All rights reserved.