public class DescribeNatGatewaysRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DescribeNatGatewaysRequest>
Contains the parameters for DescribeNatGateways.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Filter> |
filter
One or more filters.
|
private java.lang.Integer |
maxResults
The maximum number of items to return for this request.
|
private SdkInternalList<java.lang.String> |
natGatewayIds
One or more NAT gateway IDs.
|
private java.lang.String |
nextToken
The token to retrieve the next page of results.
|
NOOP
Constructor and Description |
---|
DescribeNatGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeNatGatewaysRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DescribeNatGatewaysRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
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.
|
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
private SdkInternalList<java.lang.String> natGatewayIds
One or more NAT gateway IDs.
private SdkInternalList<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.
private java.lang.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.
private java.lang.String nextToken
The token to retrieve the next page of results.
public java.util.List<java.lang.String> getNatGatewayIds()
One or more NAT gateway IDs.
public void setNatGatewayIds(java.util.Collection<java.lang.String> natGatewayIds)
One or more NAT gateway IDs.
natGatewayIds
- One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(java.lang.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(java.util.Collection<java.lang.String> natGatewayIds)
One or more NAT gateway IDs.
natGatewayIds
- One or more NAT gateway IDs.public java.util.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(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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(java.lang.String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.public java.lang.String getNextToken()
The token to retrieve the next page of results.
public DescribeNatGatewaysRequest withNextToken(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeNatGatewaysRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()