public static interface CreateVpnConnectionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<CreateVpnConnectionResponse.Builder,CreateVpnConnectionResponse>
Modifier and Type | Method and Description |
---|---|
default CreateVpnConnectionResponse.Builder |
vpnConnection(Consumer<VpnConnection.Builder> vpnConnection)
Information about the VPN connection.
|
CreateVpnConnectionResponse.Builder |
vpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateVpnConnectionResponse.Builder vpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.
vpnConnection
- Information about the VPN connection.default CreateVpnConnectionResponse.Builder vpnConnection(Consumer<VpnConnection.Builder> vpnConnection)
Information about the VPN connection.
This is a convenience method that creates an instance of theVpnConnection.Builder
avoiding the need
to create one manually via VpnConnection.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to vpnConnection(VpnConnection)
.vpnConnection
- a consumer that will call methods on VpnConnection.Builder
vpnConnection(VpnConnection)
Copyright © 2022. All rights reserved.