Class DescribeNatGatewaysResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeNatGateways.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the NAT gateways.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.toString()
Returns a string representation of this object; useful for testing and debugging.withNatGateways
(NatGateway... natGateways) Information about the NAT gateways.withNatGateways
(Collection<NatGateway> natGateways) Information about the NAT gateways.withNextToken
(String nextToken) The token to use to retrieve the next page of results.
-
Constructor Details
-
DescribeNatGatewaysResult
public DescribeNatGatewaysResult()
-
-
Method Details
-
getNatGateways
Information about the NAT gateways.
- Returns:
- Information about the NAT gateways.
-
setNatGateways
Information about the NAT gateways.
- Parameters:
natGateways
- Information about the NAT gateways.
-
withNatGateways
Information about the NAT gateways.
NOTE: This method appends the values to the existing list (if any). Use
setNatGateways(java.util.Collection)
orwithNatGateways(java.util.Collection)
if you want to override the existing values.- Parameters:
natGateways
- Information about the NAT gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNatGateways
Information about the NAT gateways.
- Parameters:
natGateways
- Information about the NAT gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.
-
getNextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Returns:
- The token to use to retrieve the next page of results. This value
is
null
when there are no more results to return.
-
withNextToken
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.- Parameters:
nextToken
- The token to use to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-