@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeInternetGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeInternetGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeInternetGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<InternetGateway> |
getInternetGateways()
Information about the internet gateways.
|
String |
getNextToken()
The token to include in another request to get the next page of items.
|
int |
hashCode() |
void |
setInternetGateways(Collection<InternetGateway> internetGateways)
Information about the internet gateways.
|
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
String |
toString()
Returns a string representation of this object.
|
DescribeInternetGatewaysResult |
withInternetGateways(Collection<InternetGateway> internetGateways)
Information about the internet gateways.
|
DescribeInternetGatewaysResult |
withInternetGateways(InternetGateway... internetGateways)
Information about the internet gateways.
|
DescribeInternetGatewaysResult |
withNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<InternetGateway> getInternetGateways()
Information about the internet gateways.
public void setInternetGateways(Collection<InternetGateway> internetGateways)
Information about the internet gateways.
internetGateways
- Information about the internet gateways.public DescribeInternetGatewaysResult withInternetGateways(InternetGateway... internetGateways)
Information about the 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 the internet gateways.public DescribeInternetGatewaysResult withInternetGateways(Collection<InternetGateway> internetGateways)
Information about the internet gateways.
internetGateways
- Information about the internet gateways.public void setNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeInternetGatewaysResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeInternetGatewaysResult clone()