CopyableBuilder<DescribeNatGatewaysRequest.Builder,DescribeNatGatewaysRequest>
, SdkBuilder<DescribeNatGatewaysRequest.Builder,DescribeNatGatewaysRequest>
public static interface DescribeNatGatewaysRequest.Builder extends CopyableBuilder<DescribeNatGatewaysRequest.Builder,DescribeNatGatewaysRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeNatGatewaysRequest.Builder |
filter(Collection<Filter> filter) |
One or more filters.
|
DescribeNatGatewaysRequest.Builder |
filter(Filter... filter) |
One or more filters.
|
DescribeNatGatewaysRequest.Builder |
maxResults(Integer maxResults) |
The maximum number of items to return for this request.
|
DescribeNatGatewaysRequest.Builder |
natGatewayIds(String... natGatewayIds) |
One or more NAT gateway IDs.
|
DescribeNatGatewaysRequest.Builder |
natGatewayIds(Collection<String> natGatewayIds) |
One or more NAT gateway IDs.
|
DescribeNatGatewaysRequest.Builder |
nextToken(String nextToken) |
The token to retrieve the next page of results.
|
copy
apply, build
DescribeNatGatewaysRequest.Builder filter(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.
DescribeNatGatewaysRequest.Builder filter(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.
DescribeNatGatewaysRequest.Builder maxResults(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.
DescribeNatGatewaysRequest.Builder natGatewayIds(Collection<String> natGatewayIds)
One or more NAT gateway IDs.
natGatewayIds
- One or more NAT gateway IDs.DescribeNatGatewaysRequest.Builder natGatewayIds(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.DescribeNatGatewaysRequest.Builder nextToken(String nextToken)
The token to retrieve the next page of results.
nextToken
- The token to retrieve the next page of results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.