Class DescribeNatGatewaysResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeNatGatewaysResult
- All Implemented Interfaces:
Serializable, Cloneable
Contains the output of DescribeNatGateways.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanInformation about the NAT gateways.The token to use to retrieve the next page of results.inthashCode()voidsetNatGateways(Collection<NatGateway> natGateways) Information about the NAT gateways.voidsetNextToken(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
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.
-
getNextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Returns:
- The token to use to retrieve the next page of results. This value
is
nullwhen there are no more results to return.
-
withNextToken
The token to use to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
-