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