public class DescribeNatGatewaysRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribeNatGateways operation.
Describes one or more of the your NAT gateways.
| Constructor and Description |
|---|
DescribeNatGatewaysRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Filter> |
getFilter()
One or more filters.
|
java.lang.Integer |
getMaxResults()
The maximum number of items to return for this request.
|
java.util.List<java.lang.String> |
getNatGatewayIds()
One or more NAT gateway IDs.
|
java.lang.String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilter(java.util.Collection<Filter> filter)
One or more filters.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNatGatewayIds(java.util.Collection<java.lang.String> natGatewayIds)
One or more NAT gateway IDs.
|
void |
setNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeNatGatewaysRequest |
withFilter(java.util.Collection<Filter> filter)
One or more filters.
|
DescribeNatGatewaysRequest |
withFilter(Filter... filter)
One or more filters.
|
DescribeNatGatewaysRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of items to return for this request.
|
DescribeNatGatewaysRequest |
withNatGatewayIds(java.util.Collection<java.lang.String> natGatewayIds)
One or more NAT gateway IDs.
|
DescribeNatGatewaysRequest |
withNatGatewayIds(java.lang.String... natGatewayIds)
One or more NAT gateway IDs.
|
DescribeNatGatewaysRequest |
withNextToken(java.lang.String nextToken)
The token to retrieve the next page of results.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.util.List<java.lang.String> getNatGatewayIds()
public void setNatGatewayIds(java.util.Collection<java.lang.String> natGatewayIds)
natGatewayIds - One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(java.lang.String... natGatewayIds)
Returns a reference to this object so that method calls can be chained together.
natGatewayIds - One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(java.util.Collection<java.lang.String> natGatewayIds)
Returns a reference to this object so that method calls can be chained together.
natGatewayIds - One or more NAT gateway IDs.public java.util.List<Filter> getFilter()
nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
public void setFilter(java.util.Collection<Filter> filter)
nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
filter - One or more filters. nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
public DescribeNatGatewaysRequest withFilter(Filter... filter)
nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
Returns a reference to this object so that method calls can be chained together.
filter - One or more filters. nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
public DescribeNatGatewaysRequest withFilter(java.util.Collection<Filter> filter)
nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
Returns a reference to this object so that method calls can be chained together.
filter - One or more filters. nat-gateway-id - The ID
of the NAT gateway.
state - The state of
the NAT gateway (pending | failed |
available | deleting |
deleted).
subnet-id - The ID
of the subnet in which the NAT gateway resides.
vpc-id - The ID of the VPC in which the NAT gateway
resides.
public java.lang.Integer getMaxResults()
Constraint: If the value specified is greater than 1000, we return only 1000 items.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
public void setMaxResults(java.lang.Integer maxResults)
Constraint: If the value specified is greater than 1000, we return only 1000 items.
maxResults - The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results. Constraint: If the value specified is greater than 1000, we return only 1000 items.
public DescribeNatGatewaysRequest withMaxResults(java.lang.Integer maxResults)
Constraint: If the value specified is greater than 1000, we return only 1000 items.
Returns a reference to this object so that method calls can be chained together.
maxResults - The maximum number of items to return for this request. The request
returns a token that you can specify in a subsequent call to get the
next set of results. Constraint: If the value specified is greater than 1000, we return only 1000 items.
public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken - The token to retrieve the next page of results.public DescribeNatGatewaysRequest withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to retrieve the next page of results.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.