public static interface CreateVpnGatewayResponse.Builder extends Ec2Response.Builder, CopyableBuilder<CreateVpnGatewayResponse.Builder,CreateVpnGatewayResponse>
Modifier and Type | Method and Description |
---|---|
default CreateVpnGatewayResponse.Builder |
vpnGateway(Consumer<VpnGateway.Builder> vpnGateway)
Information about the virtual private gateway.
|
CreateVpnGatewayResponse.Builder |
vpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateVpnGatewayResponse.Builder vpnGateway(VpnGateway vpnGateway)
Information about the virtual private gateway.
vpnGateway
- Information about the virtual private gateway.default CreateVpnGatewayResponse.Builder vpnGateway(Consumer<VpnGateway.Builder> vpnGateway)
Information about the virtual private gateway.
This is a convenience 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 vpnGateway(VpnGateway)
.vpnGateway
- a consumer that will call methods on VpnGateway.Builder
vpnGateway(VpnGateway)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.