@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNatGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DescribeNatGatewaysRequest>
Contains the parameters for DescribeNatGateways.
NOOP
Constructor and Description |
---|
DescribeNatGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeNatGatewaysRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DescribeNatGatewaysRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<Filter> |
getFilter()
One or more filters.
|
Integer |
getMaxResults()
The maximum number of items to return for this request.
|
List<String> |
getNatGatewayIds()
One or more NAT gateway IDs.
|
String |
getNextToken()
The token to retrieve the next page of results.
|
int |
hashCode() |
void |
setFilter(Collection<Filter> filter)
One or more filters.
|
void |
setMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
void |
setNatGatewayIds(Collection<String> natGatewayIds)
One or more NAT gateway IDs.
|
void |
setNextToken(String nextToken)
The token to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeNatGatewaysRequest |
withFilter(Collection<Filter> filter)
One or more filters.
|
DescribeNatGatewaysRequest |
withFilter(Filter... filter)
One or more filters.
|
DescribeNatGatewaysRequest |
withMaxResults(Integer maxResults)
The maximum number of items to return for this request.
|
DescribeNatGatewaysRequest |
withNatGatewayIds(Collection<String> natGatewayIds)
One or more NAT gateway IDs.
|
DescribeNatGatewaysRequest |
withNatGatewayIds(String... natGatewayIds)
One or more NAT gateway IDs.
|
DescribeNatGatewaysRequest |
withNextToken(String nextToken)
The token to retrieve the next page of results.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<Filter> getFilter()
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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is),
and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X,
see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's
value is), and the tag value X (regardless of what the tag's key is). If you want to list only resources
where Purpose is X, see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
vpc-id
- The ID of the VPC in which the NAT gateway resides.
public void setFilter(Collection<Filter> 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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is),
and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X,
see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value
is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where
Purpose is X, see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
vpc-id
- The ID of the VPC in which the NAT gateway resides.
public DescribeNatGatewaysRequest withFilter(Filter... 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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is),
and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X,
see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
vpc-id
- The ID of the VPC in which the NAT gateway resides.
NOTE: This method appends the values to the existing list (if any). Use
setFilter(java.util.Collection)
or withFilter(java.util.Collection)
if you want to override the
existing values.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value
is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where
Purpose is X, see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
vpc-id
- The ID of the VPC in which the NAT gateway resides.
public DescribeNatGatewaysRequest withFilter(Collection<Filter> 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.
tag
:key=value - The key/value combination of a tag assigned to the resource. Specify
the key of the tag in the filter name and the value of the tag in the filter value. For example, for the tag
Purpose=X, specify tag:Purpose
for the filter name and X
for the filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value is),
and the tag value X (regardless of what the tag's key is). If you want to list only resources where Purpose is X,
see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
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.
tag
:key=value - The key/value combination of a tag assigned to the resource.
Specify the key of the tag in the filter name and the value of the tag in the filter value. For example,
for the tag Purpose=X, specify tag:Purpose
for the filter name and X
for the
filter value.
tag-key
- The key of a tag assigned to the resource. This filter is independent of the
tag-value
filter. For example, if you use both the filter "tag-key=Purpose" and the filter
"tag-value=X", you get any resources assigned both the tag key Purpose (regardless of what the tag's value
is), and the tag value X (regardless of what the tag's key is). If you want to list only resources where
Purpose is X, see the tag
:key=value filter.
tag-value
- The value of a tag assigned to the resource. This filter is independent of the
tag-key
filter.
vpc-id
- The ID of the VPC in which the NAT gateway resides.
public void setMaxResults(Integer 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.
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 Integer getMaxResults()
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.
Constraint: If the value specified is greater than 1000, we return only 1000 items.
public DescribeNatGatewaysRequest withMaxResults(Integer 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.
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 List<String> getNatGatewayIds()
One or more NAT gateway IDs.
public void setNatGatewayIds(Collection<String> natGatewayIds)
One or more NAT gateway IDs.
natGatewayIds
- One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(String... natGatewayIds)
One or more NAT gateway IDs.
NOTE: This method appends the values to the existing list (if any). Use
setNatGatewayIds(java.util.Collection)
or withNatGatewayIds(java.util.Collection)
if you want
to override the existing values.
natGatewayIds
- One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(Collection<String> natGatewayIds)
One or more NAT gateway IDs.
natGatewayIds
- One or more NAT gateway IDs.public void setNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public String getNextToken()
The token to retrieve the next page of results.
public DescribeNatGatewaysRequest withNextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public Request<DescribeNatGatewaysRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DescribeNatGatewaysRequest>
public String toString()
toString
in class Object
Object.toString()
public DescribeNatGatewaysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.