public static interface ModifyVpnConnectionResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyVpnConnectionResponse.Builder,ModifyVpnConnectionResponse>
Modifier and Type | Method and Description |
---|---|
default ModifyVpnConnectionResponse.Builder |
vpnConnection(Consumer<VpnConnection.Builder> vpnConnection)
Sets the value of the VpnConnection property for this object.
|
ModifyVpnConnectionResponse.Builder |
vpnConnection(VpnConnection vpnConnection)
Sets the value of the VpnConnection property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyVpnConnectionResponse.Builder vpnConnection(VpnConnection vpnConnection)
vpnConnection
- The new value for the VpnConnection property for this object.default ModifyVpnConnectionResponse.Builder vpnConnection(Consumer<VpnConnection.Builder> vpnConnection)
VpnConnection.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 © 2019. All rights reserved.