public class DescribeNatGatewaysRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeNatGateways operation
.
Describes one or more of the your NAT gateways.
NOOP
Constructor and Description |
---|
DescribeNatGatewaysRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeNatGatewaysRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
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, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<String> getNatGatewayIds()
public void setNatGatewayIds(Collection<String> natGatewayIds)
natGatewayIds
- One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(String... natGatewayIds)
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.
Returns a reference to this object so that method calls can be chained together.
natGatewayIds
- One or more NAT gateway IDs.public DescribeNatGatewaysRequest withNatGatewayIds(Collection<String> natGatewayIds)
Returns a reference to this object so that method calls can be chained together.
natGatewayIds
- One or more NAT gateway IDs.public 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(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.
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.
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(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 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(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(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 String getNextToken()
public void setNextToken(String nextToken)
nextToken
- The token to retrieve the next page of results.public DescribeNatGatewaysRequest withNextToken(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 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.