public static interface CreateVpnConnectionRequest.Builder extends EC2Request.Builder, CopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
Modifier and Type | Method and Description |
---|---|
CreateVpnConnectionRequest.Builder |
customerGatewayId(String customerGatewayId)
The ID of the customer gateway.
|
default CreateVpnConnectionRequest.Builder |
options(Consumer<VpnConnectionOptionsSpecification.Builder> options)
The options for the VPN connection.
|
CreateVpnConnectionRequest.Builder |
options(VpnConnectionOptionsSpecification options)
The options for the VPN connection.
|
CreateVpnConnectionRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateVpnConnectionRequest.Builder |
type(String type)
The type of VPN connection (
ipsec.1 ). |
CreateVpnConnectionRequest.Builder |
vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
CreateVpnConnectionRequest.Builder customerGatewayId(String customerGatewayId)
The ID of the customer gateway.
customerGatewayId
- The ID of the customer gateway.CreateVpnConnectionRequest.Builder type(String type)
The type of VPN connection (ipsec.1
).
type
- The type of VPN connection (ipsec.1
).CreateVpnConnectionRequest.Builder vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway.
vpnGatewayId
- The ID of the virtual private gateway.CreateVpnConnectionRequest.Builder options(VpnConnectionOptionsSpecification options)
The options for the VPN connection.
options
- The options for the VPN connection.default CreateVpnConnectionRequest.Builder options(Consumer<VpnConnectionOptionsSpecification.Builder> options)
The options for the VPN connection.
This is a convenience that creates an instance of theVpnConnectionOptionsSpecification.Builder
avoiding the need to create one manually via VpnConnectionOptionsSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to options(VpnConnectionOptionsSpecification)
.options
- a consumer that will call methods on VpnConnectionOptionsSpecification.Builder
options(VpnConnectionOptionsSpecification)
CreateVpnConnectionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.