@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNatGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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 include in another request to get the next page of items.
|
int |
hashCode() |
void |
setNatGateways(Collection<NatGateway> natGateways)
Information about the NAT 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.
|
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 include in another request to get the next page of items.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 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 DescribeNatGatewaysResult 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 DescribeNatGatewaysResult clone()