#[non_exhaustive]pub struct CreateVpnGatewayOutputBuilder { /* private fields */ }
Expand description
A builder for CreateVpnGatewayOutput
.
Implementations§
source§impl CreateVpnGatewayOutputBuilder
impl CreateVpnGatewayOutputBuilder
sourcepub fn vpn_gateway(self, input: VpnGateway) -> Self
pub fn vpn_gateway(self, input: VpnGateway) -> Self
Information about the virtual private gateway.
sourcepub fn set_vpn_gateway(self, input: Option<VpnGateway>) -> Self
pub fn set_vpn_gateway(self, input: Option<VpnGateway>) -> Self
Information about the virtual private gateway.
sourcepub fn get_vpn_gateway(&self) -> &Option<VpnGateway>
pub fn get_vpn_gateway(&self) -> &Option<VpnGateway>
Information about the virtual private gateway.
sourcepub fn build(self) -> CreateVpnGatewayOutput
pub fn build(self) -> CreateVpnGatewayOutput
Consumes the builder and constructs a CreateVpnGatewayOutput
.
Trait Implementations§
source§impl Clone for CreateVpnGatewayOutputBuilder
impl Clone for CreateVpnGatewayOutputBuilder
source§fn clone(&self) -> CreateVpnGatewayOutputBuilder
fn clone(&self) -> CreateVpnGatewayOutputBuilder
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 CreateVpnGatewayOutputBuilder
impl Default for CreateVpnGatewayOutputBuilder
source§fn default() -> CreateVpnGatewayOutputBuilder
fn default() -> CreateVpnGatewayOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateVpnGatewayOutputBuilder
impl PartialEq for CreateVpnGatewayOutputBuilder
source§fn eq(&self, other: &CreateVpnGatewayOutputBuilder) -> bool
fn eq(&self, other: &CreateVpnGatewayOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateVpnGatewayOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateVpnGatewayOutputBuilder
impl RefUnwindSafe for CreateVpnGatewayOutputBuilder
impl Send for CreateVpnGatewayOutputBuilder
impl Sync for CreateVpnGatewayOutputBuilder
impl Unpin for CreateVpnGatewayOutputBuilder
impl UnwindSafe for CreateVpnGatewayOutputBuilder
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.