public static interface CreateVpnConnectionRequest.Builder extends EC2Request.Builder, CopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
buildrequestOverrideConfigcopyapply, buildCreateVpnConnectionRequest.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.Builderoptions(VpnConnectionOptionsSpecification)CreateVpnConnectionRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateVpnConnectionRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.