#[non_exhaustive]pub struct ReplaceVpnTunnelInputBuilder { /* private fields */ }Expand description
A builder for ReplaceVpnTunnelInput.
Implementations§
source§impl ReplaceVpnTunnelInputBuilder
impl ReplaceVpnTunnelInputBuilder
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.
This field is required.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 vpn_tunnel_outside_ip_address(self, input: impl Into<String>) -> Self
pub fn vpn_tunnel_outside_ip_address(self, input: impl Into<String>) -> Self
The external IP address of the VPN tunnel.
This field is required.sourcepub fn set_vpn_tunnel_outside_ip_address(self, input: Option<String>) -> Self
pub fn set_vpn_tunnel_outside_ip_address(self, input: Option<String>) -> Self
The external IP address of the VPN tunnel.
sourcepub fn get_vpn_tunnel_outside_ip_address(&self) -> &Option<String>
pub fn get_vpn_tunnel_outside_ip_address(&self) -> &Option<String>
The external IP address of the VPN tunnel.
sourcepub fn apply_pending_maintenance(self, input: bool) -> Self
pub fn apply_pending_maintenance(self, input: bool) -> Self
Trigger pending tunnel endpoint maintenance.
sourcepub fn set_apply_pending_maintenance(self, input: Option<bool>) -> Self
pub fn set_apply_pending_maintenance(self, input: Option<bool>) -> Self
Trigger pending tunnel endpoint maintenance.
sourcepub fn get_apply_pending_maintenance(&self) -> &Option<bool>
pub fn get_apply_pending_maintenance(&self) -> &Option<bool>
Trigger pending tunnel endpoint maintenance.
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.
sourcepub fn build(self) -> Result<ReplaceVpnTunnelInput, BuildError>
pub fn build(self) -> Result<ReplaceVpnTunnelInput, BuildError>
Consumes the builder and constructs a ReplaceVpnTunnelInput.
source§impl ReplaceVpnTunnelInputBuilder
impl ReplaceVpnTunnelInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ReplaceVpnTunnelOutput, SdkError<ReplaceVpnTunnelError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ReplaceVpnTunnelOutput, SdkError<ReplaceVpnTunnelError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReplaceVpnTunnelInputBuilder
impl Clone for ReplaceVpnTunnelInputBuilder
source§fn clone(&self) -> ReplaceVpnTunnelInputBuilder
fn clone(&self) -> ReplaceVpnTunnelInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplaceVpnTunnelInputBuilder
impl Debug for ReplaceVpnTunnelInputBuilder
source§impl Default for ReplaceVpnTunnelInputBuilder
impl Default for ReplaceVpnTunnelInputBuilder
source§fn default() -> ReplaceVpnTunnelInputBuilder
fn default() -> ReplaceVpnTunnelInputBuilder
source§impl PartialEq for ReplaceVpnTunnelInputBuilder
impl PartialEq for ReplaceVpnTunnelInputBuilder
source§fn eq(&self, other: &ReplaceVpnTunnelInputBuilder) -> bool
fn eq(&self, other: &ReplaceVpnTunnelInputBuilder) -> bool
self and other values to be equal, and is used
by ==.