Struct aws_sdk_ec2::operation::modify_vpn_connection::builders::ModifyVpnConnectionOutputBuilder
source · #[non_exhaustive]pub struct ModifyVpnConnectionOutputBuilder { /* private fields */ }
Expand description
A builder for ModifyVpnConnectionOutput
.
Implementations§
source§impl ModifyVpnConnectionOutputBuilder
impl ModifyVpnConnectionOutputBuilder
sourcepub fn vpn_connection(self, input: VpnConnection) -> Self
pub fn vpn_connection(self, input: VpnConnection) -> Self
Information about the VPN connection.
sourcepub fn set_vpn_connection(self, input: Option<VpnConnection>) -> Self
pub fn set_vpn_connection(self, input: Option<VpnConnection>) -> Self
Information about the VPN connection.
sourcepub fn get_vpn_connection(&self) -> &Option<VpnConnection>
pub fn get_vpn_connection(&self) -> &Option<VpnConnection>
Information about the VPN connection.
sourcepub fn build(self) -> ModifyVpnConnectionOutput
pub fn build(self) -> ModifyVpnConnectionOutput
Consumes the builder and constructs a ModifyVpnConnectionOutput
.
Trait Implementations§
source§impl Clone for ModifyVpnConnectionOutputBuilder
impl Clone for ModifyVpnConnectionOutputBuilder
source§fn clone(&self) -> ModifyVpnConnectionOutputBuilder
fn clone(&self) -> ModifyVpnConnectionOutputBuilder
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 ModifyVpnConnectionOutputBuilder
impl Default for ModifyVpnConnectionOutputBuilder
source§fn default() -> ModifyVpnConnectionOutputBuilder
fn default() -> ModifyVpnConnectionOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ModifyVpnConnectionOutputBuilder
impl PartialEq for ModifyVpnConnectionOutputBuilder
source§fn eq(&self, other: &ModifyVpnConnectionOutputBuilder) -> bool
fn eq(&self, other: &ModifyVpnConnectionOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ModifyVpnConnectionOutputBuilder
Auto Trait Implementations§
impl Freeze for ModifyVpnConnectionOutputBuilder
impl RefUnwindSafe for ModifyVpnConnectionOutputBuilder
impl Send for ModifyVpnConnectionOutputBuilder
impl Sync for ModifyVpnConnectionOutputBuilder
impl Unpin for ModifyVpnConnectionOutputBuilder
impl UnwindSafe for ModifyVpnConnectionOutputBuilder
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.