public static interface CreateVpnConnectionRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateVpnConnectionRequest.Builder,CreateVpnConnectionRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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. If you specify a virtual private gateway, you cannot specify a transit gateway.
vpnGatewayId - The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a
transit gateway.CreateVpnConnectionRequest.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.
transitGatewayId - The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private
gateway.CreateVpnConnectionRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.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 method 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 tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the VPN connection.
tagSpecifications - The tags to apply to the VPN connection.CreateVpnConnectionRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the VPN connection.
tagSpecifications - The tags to apply to the VPN connection.CreateVpnConnectionRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the VPN connection.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreateVpnConnectionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateVpnConnectionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.