Interface ModifyVpnConnectionOptionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyVpnConnectionOptionsRequest.Builder,
,ModifyVpnConnectionOptionsRequest> Ec2Request.Builder
,SdkBuilder<ModifyVpnConnectionOptionsRequest.Builder,
,ModifyVpnConnectionOptionsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ModifyVpnConnectionOptionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.localIpv4NetworkCidr
(String localIpv4NetworkCidr) The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.localIpv6NetworkCidr
(String localIpv6NetworkCidr) The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.remoteIpv4NetworkCidr
(String remoteIpv4NetworkCidr) The IPv4 CIDR on the Amazon Web Services side of the VPN connection.remoteIpv6NetworkCidr
(String remoteIpv6NetworkCidr) The IPv6 CIDR on the Amazon Web Services side of the VPN connection.vpnConnectionId
(String vpnConnectionId) The ID of the Site-to-Site VPN connection.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vpnConnectionId
The ID of the Site-to-Site VPN connection.
- Parameters:
vpnConnectionId
- The ID of the Site-to-Site VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localIpv4NetworkCidr
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default:
0.0.0.0/0
- Parameters:
localIpv4NetworkCidr
- The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.Default:
0.0.0.0/0
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpv4NetworkCidr
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default:
0.0.0.0/0
- Parameters:
remoteIpv4NetworkCidr
- The IPv4 CIDR on the Amazon Web Services side of the VPN connection.Default:
0.0.0.0/0
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localIpv6NetworkCidr
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default:
::/0
- Parameters:
localIpv6NetworkCidr
- The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.Default:
::/0
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remoteIpv6NetworkCidr
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default:
::/0
- Parameters:
remoteIpv6NetworkCidr
- The IPv6 CIDR on the Amazon Web Services side of the VPN connection.Default:
::/0
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 isUnauthorizedOperation
.- Parameters:
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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyVpnConnectionOptionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyVpnConnectionOptionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-