#[non_exhaustive]pub struct AwsEc2VpnConnectionOptionsDetailsBuilder { /* private fields */ }
Expand description
A builder for AwsEc2VpnConnectionOptionsDetails
.
Implementations§
source§impl AwsEc2VpnConnectionOptionsDetailsBuilder
impl AwsEc2VpnConnectionOptionsDetailsBuilder
sourcepub fn static_routes_only(self, input: bool) -> Self
pub fn static_routes_only(self, input: bool) -> Self
Whether the VPN connection uses static routes only.
sourcepub fn set_static_routes_only(self, input: Option<bool>) -> Self
pub fn set_static_routes_only(self, input: Option<bool>) -> Self
Whether the VPN connection uses static routes only.
sourcepub fn get_static_routes_only(&self) -> &Option<bool>
pub fn get_static_routes_only(&self) -> &Option<bool>
Whether the VPN connection uses static routes only.
sourcepub fn tunnel_options(
self,
input: AwsEc2VpnConnectionOptionsTunnelOptionsDetails
) -> Self
pub fn tunnel_options( self, input: AwsEc2VpnConnectionOptionsTunnelOptionsDetails ) -> Self
Appends an item to tunnel_options
.
To override the contents of this collection use set_tunnel_options
.
The VPN tunnel options.
sourcepub fn set_tunnel_options(
self,
input: Option<Vec<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>>
) -> Self
pub fn set_tunnel_options( self, input: Option<Vec<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>> ) -> Self
The VPN tunnel options.
sourcepub fn get_tunnel_options(
&self
) -> &Option<Vec<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>>
pub fn get_tunnel_options( &self ) -> &Option<Vec<AwsEc2VpnConnectionOptionsTunnelOptionsDetails>>
The VPN tunnel options.
sourcepub fn build(self) -> AwsEc2VpnConnectionOptionsDetails
pub fn build(self) -> AwsEc2VpnConnectionOptionsDetails
Consumes the builder and constructs a AwsEc2VpnConnectionOptionsDetails
.
Trait Implementations§
source§impl Clone for AwsEc2VpnConnectionOptionsDetailsBuilder
impl Clone for AwsEc2VpnConnectionOptionsDetailsBuilder
source§fn clone(&self) -> AwsEc2VpnConnectionOptionsDetailsBuilder
fn clone(&self) -> AwsEc2VpnConnectionOptionsDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AwsEc2VpnConnectionOptionsDetailsBuilder
impl Default for AwsEc2VpnConnectionOptionsDetailsBuilder
source§fn default() -> AwsEc2VpnConnectionOptionsDetailsBuilder
fn default() -> AwsEc2VpnConnectionOptionsDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AwsEc2VpnConnectionOptionsDetailsBuilder
impl PartialEq for AwsEc2VpnConnectionOptionsDetailsBuilder
source§fn eq(&self, other: &AwsEc2VpnConnectionOptionsDetailsBuilder) -> bool
fn eq(&self, other: &AwsEc2VpnConnectionOptionsDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsEc2VpnConnectionOptionsDetailsBuilder
Auto Trait Implementations§
impl Freeze for AwsEc2VpnConnectionOptionsDetailsBuilder
impl RefUnwindSafe for AwsEc2VpnConnectionOptionsDetailsBuilder
impl Send for AwsEc2VpnConnectionOptionsDetailsBuilder
impl Sync for AwsEc2VpnConnectionOptionsDetailsBuilder
impl Unpin for AwsEc2VpnConnectionOptionsDetailsBuilder
impl UnwindSafe for AwsEc2VpnConnectionOptionsDetailsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.