CopyableBuilder<DescribeNatGatewaysResponse.Builder,DescribeNatGatewaysResponse>
, SdkBuilder<DescribeNatGatewaysResponse.Builder,DescribeNatGatewaysResponse>
public static interface DescribeNatGatewaysResponse.Builder extends CopyableBuilder<DescribeNatGatewaysResponse.Builder,DescribeNatGatewaysResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeNatGatewaysResponse.Builder |
natGateways(Collection<NatGateway> natGateways) |
Information about the NAT gateways.
|
DescribeNatGatewaysResponse.Builder |
natGateways(NatGateway... natGateways) |
Information about the NAT gateways.
|
DescribeNatGatewaysResponse.Builder |
nextToken(String nextToken) |
The token to use to retrieve the next page of results.
|
copy
apply, build
DescribeNatGatewaysResponse.Builder natGateways(Collection<NatGateway> natGateways)
Information about the NAT gateways.
natGateways
- Information about the NAT gateways.DescribeNatGatewaysResponse.Builder natGateways(NatGateway... natGateways)
Information about the NAT gateways.
NOTE: This method appends the values to the existing list (if any). Use
#setNatGateways(java.util.Collection)
or #withNatGateways(java.util.Collection)
if you want
to override the existing values.
natGateways
- Information about the NAT gateways.DescribeNatGatewaysResponse.Builder nextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are
no more results to return.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.