Class DescribeNatGatewaysRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<DescribeNatGatewaysRequest>
,Serializable
,Cloneable
Contains the parameters for DescribeNatGateways.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
This method is intended for internal use only.One or more filters.The maximum number of items to return for this request.One or more NAT gateway IDs.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.toString()
Returns a string representation of this object; useful for testing and debugging.withFilter
(Filter... filter) One or more filters.withFilter
(Collection<Filter> filter) One or more filters.withMaxResults
(Integer maxResults) The maximum number of items to return for this request.withNatGatewayIds
(String... natGatewayIds) One or more NAT gateway IDs.withNatGatewayIds
(Collection<String> natGatewayIds) One or more NAT gateway IDs.withNextToken
(String nextToken) The token to retrieve the next page of results.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribeNatGatewaysRequest
public DescribeNatGatewaysRequest()
-
-
Method Details
-
getNatGatewayIds
One or more NAT gateway IDs.
- Returns:
- One or more NAT gateway IDs.
-
setNatGatewayIds
One or more NAT gateway IDs.
- Parameters:
natGatewayIds
- One or more NAT gateway IDs.
-
withNatGatewayIds
One or more NAT gateway IDs.
NOTE: This method appends the values to the existing list (if any). Use
setNatGatewayIds(java.util.Collection)
orwithNatGatewayIds(java.util.Collection)
if you want to override the existing values.- Parameters:
natGatewayIds
- One or more NAT gateway IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNatGatewayIds
One or more NAT gateway IDs.
- Parameters:
natGatewayIds
- One or more NAT gateway IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Returns:
- 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.
-
-
-
setFilter
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.
- Parameters:
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.
-
-
-
withFilter
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)
orwithFilter(java.util.Collection)
if you want to override the existing values.- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
withFilter
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
setMaxResults
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withMaxResults
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.
-
getNextToken
The token to retrieve the next page of results.
- Returns:
- The token to retrieve the next page of results.
-
withNextToken
The token to retrieve the next page of results.
- Parameters:
nextToken
- The token to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<DescribeNatGatewaysRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-