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