#[non_exhaustive]pub struct VpcAttachmentBuilder { /* private fields */ }
Expand description
A builder for VpcAttachment
.
Implementations§
source§impl VpcAttachmentBuilder
impl VpcAttachmentBuilder
sourcepub fn attachment(self, input: Attachment) -> Self
pub fn attachment(self, input: Attachment) -> Self
Provides details about the VPC attachment.
sourcepub fn set_attachment(self, input: Option<Attachment>) -> Self
pub fn set_attachment(self, input: Option<Attachment>) -> Self
Provides details about the VPC attachment.
sourcepub fn get_attachment(&self) -> &Option<Attachment>
pub fn get_attachment(&self) -> &Option<Attachment>
Provides details about the VPC attachment.
sourcepub fn subnet_arns(self, input: impl Into<String>) -> Self
pub fn subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to subnet_arns
.
To override the contents of this collection use set_subnet_arns
.
The subnet ARNs.
sourcepub fn set_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_arns(self, input: Option<Vec<String>>) -> Self
The subnet ARNs.
sourcepub fn get_subnet_arns(&self) -> &Option<Vec<String>>
pub fn get_subnet_arns(&self) -> &Option<Vec<String>>
The subnet ARNs.
sourcepub fn options(self, input: VpcOptions) -> Self
pub fn options(self, input: VpcOptions) -> Self
Provides details about the VPC attachment.
sourcepub fn set_options(self, input: Option<VpcOptions>) -> Self
pub fn set_options(self, input: Option<VpcOptions>) -> Self
Provides details about the VPC attachment.
sourcepub fn get_options(&self) -> &Option<VpcOptions>
pub fn get_options(&self) -> &Option<VpcOptions>
Provides details about the VPC attachment.
sourcepub fn build(self) -> VpcAttachment
pub fn build(self) -> VpcAttachment
Consumes the builder and constructs a VpcAttachment
.
Trait Implementations§
source§impl Clone for VpcAttachmentBuilder
impl Clone for VpcAttachmentBuilder
source§fn clone(&self) -> VpcAttachmentBuilder
fn clone(&self) -> VpcAttachmentBuilder
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 Debug for VpcAttachmentBuilder
impl Debug for VpcAttachmentBuilder
source§impl Default for VpcAttachmentBuilder
impl Default for VpcAttachmentBuilder
source§fn default() -> VpcAttachmentBuilder
fn default() -> VpcAttachmentBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for VpcAttachmentBuilder
impl PartialEq for VpcAttachmentBuilder
source§fn eq(&self, other: &VpcAttachmentBuilder) -> bool
fn eq(&self, other: &VpcAttachmentBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VpcAttachmentBuilder
Auto Trait Implementations§
impl Freeze for VpcAttachmentBuilder
impl RefUnwindSafe for VpcAttachmentBuilder
impl Send for VpcAttachmentBuilder
impl Sync for VpcAttachmentBuilder
impl Unpin for VpcAttachmentBuilder
impl UnwindSafe for VpcAttachmentBuilder
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.