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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDescribeVpnGatewaysResponse.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 theVpnGateway.Builder avoiding the need to create one manually
via VpnGateway.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #vpnGateways(List.
vpnGateways - a consumer that will call methods on
VpnGateway.Builder#vpnGateways(java.util.Collection) Copyright © 2022. All rights reserved.