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 request.
|
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.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 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.
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(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.
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)
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.
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.
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.
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 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 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.