public static interface DescribeInternetGatewaysResponse.Builder extends Ec2Response.Builder, CopyableBuilder<DescribeInternetGatewaysResponse.Builder,DescribeInternetGatewaysResponse>
Modifier and Type | Method and Description |
---|---|
DescribeInternetGatewaysResponse.Builder |
internetGateways(Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
|
DescribeInternetGatewaysResponse.Builder |
internetGateways(Consumer<InternetGateway.Builder>... internetGateways)
Information about one or more Internet gateways.
|
DescribeInternetGatewaysResponse.Builder |
internetGateways(InternetGateway... internetGateways)
Information about one or more Internet gateways.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeInternetGatewaysResponse.Builder internetGateways(Collection<InternetGateway> internetGateways)
Information about one or more Internet gateways.
internetGateways
- Information about one or more Internet gateways.DescribeInternetGatewaysResponse.Builder internetGateways(InternetGateway... internetGateways)
Information about one or more Internet gateways.
internetGateways
- Information about one or more Internet gateways.DescribeInternetGatewaysResponse.Builder internetGateways(Consumer<InternetGateway.Builder>... internetGateways)
Information about one or more Internet 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 #internetGateways(List)
.internetGateways
- a consumer that will call methods on List.Builder
#internetGateways(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.