public class DescribeNatGatewaysResult extends Object implements Serializable, Cloneable
Contains the output of DescribeNatGateways.
Constructor and Description |
---|
DescribeNatGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNatGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<NatGateway> |
getNatGateways()
Information about the NAT gateways.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setNatGateways(Collection<NatGateway> natGateways)
Information about the NAT gateways.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeNatGatewaysResult |
withNatGateways(Collection<NatGateway> natGateways)
Information about the NAT gateways.
|
DescribeNatGatewaysResult |
withNatGateways(NatGateway... natGateways)
Information about the NAT gateways.
|
DescribeNatGatewaysResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
public List<NatGateway> getNatGateways()
Information about the NAT gateways.
public void setNatGateways(Collection<NatGateway> natGateways)
Information about the NAT gateways.
natGateways
- Information about the NAT gateways.public DescribeNatGatewaysResult withNatGateways(NatGateway... natGateways)
Information about the NAT gateways.
NOTE: This method appends the values to the existing list (if
any). Use setNatGateways(java.util.Collection)
or
withNatGateways(java.util.Collection)
if you want to override
the existing values.
natGateways
- Information about the NAT gateways.public DescribeNatGatewaysResult withNatGateways(Collection<NatGateway> natGateways)
Information about the NAT gateways.
natGateways
- Information about the NAT gateways.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value
is null
when there are no more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
null
when there are no more results to return.public DescribeNatGatewaysResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value
is null
when there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeNatGatewaysResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.