Struct aws_sdk_ec2::operation::modify_vpn_tunnel_certificate::builders::ModifyVpnTunnelCertificateInputBuilder
source · #[non_exhaustive]pub struct ModifyVpnTunnelCertificateInputBuilder { /* private fields */ }Expand description
A builder for ModifyVpnTunnelCertificateInput.
Implementations§
source§impl ModifyVpnTunnelCertificateInputBuilder
impl ModifyVpnTunnelCertificateInputBuilder
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 Amazon Web Services 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 Amazon Web Services 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 Amazon Web Services 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.
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 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<ModifyVpnTunnelCertificateInput, BuildError>
pub fn build(self) -> Result<ModifyVpnTunnelCertificateInput, BuildError>
Consumes the builder and constructs a ModifyVpnTunnelCertificateInput.
source§impl ModifyVpnTunnelCertificateInputBuilder
impl ModifyVpnTunnelCertificateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyVpnTunnelCertificateOutput, SdkError<ModifyVpnTunnelCertificateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyVpnTunnelCertificateOutput, SdkError<ModifyVpnTunnelCertificateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyVpnTunnelCertificateInputBuilder
impl Clone for ModifyVpnTunnelCertificateInputBuilder
source§fn clone(&self) -> ModifyVpnTunnelCertificateInputBuilder
fn clone(&self) -> ModifyVpnTunnelCertificateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyVpnTunnelCertificateInputBuilder
impl Default for ModifyVpnTunnelCertificateInputBuilder
source§fn default() -> ModifyVpnTunnelCertificateInputBuilder
fn default() -> ModifyVpnTunnelCertificateInputBuilder
source§impl PartialEq<ModifyVpnTunnelCertificateInputBuilder> for ModifyVpnTunnelCertificateInputBuilder
impl PartialEq<ModifyVpnTunnelCertificateInputBuilder> for ModifyVpnTunnelCertificateInputBuilder
source§fn eq(&self, other: &ModifyVpnTunnelCertificateInputBuilder) -> bool
fn eq(&self, other: &ModifyVpnTunnelCertificateInputBuilder) -> bool
self and other values to be equal, and is used
by ==.