public static interface DescribeVpnGatewaysResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeVpnGatewaysResponse.Builder,DescribeVpnGatewaysResponse>
Modifier and Type | Method and Description |
---|---|
DescribeVpnGatewaysResponse.Builder |
vpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
|
DescribeVpnGatewaysResponse.Builder |
vpnGateways(Consumer<VpnGateway.Builder>... vpnGateways)
Information about one or more virtual private gateways.
|
DescribeVpnGatewaysResponse.Builder |
vpnGateways(VpnGateway... vpnGateways)
Information about one or more virtual private gateways.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DescribeVpnGatewaysResponse.Builder vpnGateways(Collection<VpnGateway> vpnGateways)
Information about one or more virtual private gateways.
vpnGateways
- Information about one or more virtual private gateways.DescribeVpnGatewaysResponse.Builder vpnGateways(VpnGateway... vpnGateways)
Information about one or more virtual private gateways.
vpnGateways
- Information about one or more virtual private gateways.DescribeVpnGatewaysResponse.Builder vpnGateways(Consumer<VpnGateway.Builder>... vpnGateways)
Information about one or more virtual private gateways.
This is a convenience method 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 #vpnGateways(List)
.vpnGateways
- a consumer that will call methods on List.Builder
#vpnGateways(List)
Copyright © 2022. All rights reserved.