Struct aws_sdk_ec2::operation::modify_vpn_connection_options::builders::ModifyVpnConnectionOptionsFluentBuilder
source · pub struct ModifyVpnConnectionOptionsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ModifyVpnConnectionOptions
.
Modifies the connection options for your Site-to-Site VPN connection.
When you modify the VPN connection options, the VPN endpoint IP addresses on the Amazon Web Services side do not change, and the tunnel options do not change. Your VPN connection will be temporarily unavailable for a brief period while the VPN connection is updated.
Implementations§
source§impl ModifyVpnConnectionOptionsFluentBuilder
impl ModifyVpnConnectionOptionsFluentBuilder
sourcepub fn as_input(&self) -> &ModifyVpnConnectionOptionsInputBuilder
pub fn as_input(&self) -> &ModifyVpnConnectionOptionsInputBuilder
Access the ModifyVpnConnectionOptions as a reference.
sourcepub async fn send(
self
) -> Result<ModifyVpnConnectionOptionsOutput, SdkError<ModifyVpnConnectionOptionsError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyVpnConnectionOptionsOutput, SdkError<ModifyVpnConnectionOptionsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyVpnConnectionOptionsOutput, ModifyVpnConnectionOptionsError>, SdkError<ModifyVpnConnectionOptionsError>>
pub async fn customize( self ) -> Result<CustomizableOperation<ModifyVpnConnectionOptionsOutput, ModifyVpnConnectionOptionsError>, SdkError<ModifyVpnConnectionOptionsError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn vpn_connection_id(self, input: impl Into<String>) -> Self
pub fn vpn_connection_id(self, input: impl Into<String>) -> Self
The ID of the Site-to-Site VPN connection.
sourcepub fn set_vpn_connection_id(self, input: Option<String>) -> Self
pub fn set_vpn_connection_id(self, input: Option<String>) -> Self
The ID of the Site-to-Site VPN connection.
sourcepub fn get_vpn_connection_id(&self) -> &Option<String>
pub fn get_vpn_connection_id(&self) -> &Option<String>
The ID of the Site-to-Site VPN connection.
sourcepub fn local_ipv4_network_cidr(self, input: impl Into<String>) -> Self
pub fn local_ipv4_network_cidr(self, input: impl Into<String>) -> Self
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn set_local_ipv4_network_cidr(self, input: Option<String>) -> Self
pub fn set_local_ipv4_network_cidr(self, input: Option<String>) -> Self
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn get_local_ipv4_network_cidr(&self) -> &Option<String>
pub fn get_local_ipv4_network_cidr(&self) -> &Option<String>
The IPv4 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn remote_ipv4_network_cidr(self, input: impl Into<String>) -> Self
pub fn remote_ipv4_network_cidr(self, input: impl Into<String>) -> Self
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn set_remote_ipv4_network_cidr(self, input: Option<String>) -> Self
pub fn set_remote_ipv4_network_cidr(self, input: Option<String>) -> Self
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn get_remote_ipv4_network_cidr(&self) -> &Option<String>
pub fn get_remote_ipv4_network_cidr(&self) -> &Option<String>
The IPv4 CIDR on the Amazon Web Services side of the VPN connection.
Default: 0.0.0.0/0
sourcepub fn local_ipv6_network_cidr(self, input: impl Into<String>) -> Self
pub fn local_ipv6_network_cidr(self, input: impl Into<String>) -> Self
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
sourcepub fn set_local_ipv6_network_cidr(self, input: Option<String>) -> Self
pub fn set_local_ipv6_network_cidr(self, input: Option<String>) -> Self
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
sourcepub fn get_local_ipv6_network_cidr(&self) -> &Option<String>
pub fn get_local_ipv6_network_cidr(&self) -> &Option<String>
The IPv6 CIDR on the customer gateway (on-premises) side of the VPN connection.
Default: ::/0
sourcepub fn remote_ipv6_network_cidr(self, input: impl Into<String>) -> Self
pub fn remote_ipv6_network_cidr(self, input: impl Into<String>) -> Self
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
sourcepub fn set_remote_ipv6_network_cidr(self, input: Option<String>) -> Self
pub fn set_remote_ipv6_network_cidr(self, input: Option<String>) -> Self
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
sourcepub fn get_remote_ipv6_network_cidr(&self) -> &Option<String>
pub fn get_remote_ipv6_network_cidr(&self) -> &Option<String>
The IPv6 CIDR on the Amazon Web Services side of the VPN connection.
Default: ::/0
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
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
.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
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
.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
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
.
Trait Implementations§
source§impl Clone for ModifyVpnConnectionOptionsFluentBuilder
impl Clone for ModifyVpnConnectionOptionsFluentBuilder
source§fn clone(&self) -> ModifyVpnConnectionOptionsFluentBuilder
fn clone(&self) -> ModifyVpnConnectionOptionsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more