public class DescribeInternetGatewaysResult extends Object implements Serializable, Cloneable
Contains the output of DescribeInternetGateways.
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()
Information about one or more Internet gateways.
public void setInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Information about one or more Internet gateways.
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.
internetGateways
- Information about one or more Internet gateways.public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
internetGateways
- Information about one or more Internet gateways.public String toString()
toString
in class Object
Object.toString()
public DescribeInternetGatewaysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.