public static interface DescribeNatGatewaysResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeNatGatewaysResponse.Builder,DescribeNatGatewaysResponse>
Modifier and Type | Method and Description |
---|---|
DescribeNatGatewaysResponse.Builder |
natGateways(Collection<NatGateway> natGateways)
Information about the NAT gateways.
|
DescribeNatGatewaysResponse.Builder |
natGateways(Consumer<NatGateway.Builder>... 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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.
natGateways
- Information about the NAT gateways.DescribeNatGatewaysResponse.Builder natGateways(Consumer<NatGateway.Builder>... natGateways)
Information about the NAT gateways.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #natGateways(List)
.natGateways
- a consumer that will call methods on List.Builder
#natGateways(List)
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.