Interface ModifyVpnTunnelOptionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ModifyVpnTunnelOptionsResponse.Builder,ModifyVpnTunnelOptionsResponse>
,Ec2Response.Builder
,SdkBuilder<ModifyVpnTunnelOptionsResponse.Builder,ModifyVpnTunnelOptionsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ModifyVpnTunnelOptionsResponse
public static interface ModifyVpnTunnelOptionsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyVpnTunnelOptionsResponse.Builder,ModifyVpnTunnelOptionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyVpnTunnelOptionsResponse.Builder
vpnConnection(Consumer<VpnConnection.Builder> vpnConnection)
Information about the VPN connection.ModifyVpnTunnelOptionsResponse.Builder
vpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
vpnConnection
ModifyVpnTunnelOptionsResponse.Builder vpnConnection(VpnConnection vpnConnection)
Information about the VPN connection.
- Parameters:
vpnConnection
- Information about the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnConnection
default ModifyVpnTunnelOptionsResponse.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 viaVpnConnection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpnConnection(VpnConnection)
.- Parameters:
vpnConnection
- a consumer that will call methods onVpnConnection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpnConnection(VpnConnection)
-
-