Struct aws_sdk_networkmanager::operation::update_vpc_attachment::builders::UpdateVpcAttachmentInputBuilder
source · #[non_exhaustive]pub struct UpdateVpcAttachmentInputBuilder { /* private fields */ }
Expand description
A builder for UpdateVpcAttachmentInput
.
Implementations§
source§impl UpdateVpcAttachmentInputBuilder
impl UpdateVpcAttachmentInputBuilder
sourcepub fn attachment_id(self, input: impl Into<String>) -> Self
pub fn attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment.
This field is required.sourcepub fn set_attachment_id(self, input: Option<String>) -> Self
pub fn set_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment.
sourcepub fn get_attachment_id(&self) -> &Option<String>
pub fn get_attachment_id(&self) -> &Option<String>
The ID of the attachment.
sourcepub fn add_subnet_arns(self, input: impl Into<String>) -> Self
pub fn add_subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to add_subnet_arns
.
To override the contents of this collection use set_add_subnet_arns
.
Adds a subnet ARN to the VPC attachment.
sourcepub fn set_add_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_add_subnet_arns(self, input: Option<Vec<String>>) -> Self
Adds a subnet ARN to the VPC attachment.
sourcepub fn get_add_subnet_arns(&self) -> &Option<Vec<String>>
pub fn get_add_subnet_arns(&self) -> &Option<Vec<String>>
Adds a subnet ARN to the VPC attachment.
sourcepub fn remove_subnet_arns(self, input: impl Into<String>) -> Self
pub fn remove_subnet_arns(self, input: impl Into<String>) -> Self
Appends an item to remove_subnet_arns
.
To override the contents of this collection use set_remove_subnet_arns
.
Removes a subnet ARN from the attachment.
sourcepub fn set_remove_subnet_arns(self, input: Option<Vec<String>>) -> Self
pub fn set_remove_subnet_arns(self, input: Option<Vec<String>>) -> Self
Removes a subnet ARN from the attachment.
sourcepub fn get_remove_subnet_arns(&self) -> &Option<Vec<String>>
pub fn get_remove_subnet_arns(&self) -> &Option<Vec<String>>
Removes a subnet ARN from the attachment.
sourcepub fn options(self, input: VpcOptions) -> Self
pub fn options(self, input: VpcOptions) -> Self
Additional options for updating the VPC attachment.
sourcepub fn set_options(self, input: Option<VpcOptions>) -> Self
pub fn set_options(self, input: Option<VpcOptions>) -> Self
Additional options for updating the VPC attachment.
sourcepub fn get_options(&self) -> &Option<VpcOptions>
pub fn get_options(&self) -> &Option<VpcOptions>
Additional options for updating the VPC attachment.
sourcepub fn build(self) -> Result<UpdateVpcAttachmentInput, BuildError>
pub fn build(self) -> Result<UpdateVpcAttachmentInput, BuildError>
Consumes the builder and constructs a UpdateVpcAttachmentInput
.
source§impl UpdateVpcAttachmentInputBuilder
impl UpdateVpcAttachmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateVpcAttachmentOutput, SdkError<UpdateVpcAttachmentError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateVpcAttachmentOutput, SdkError<UpdateVpcAttachmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateVpcAttachmentInputBuilder
impl Clone for UpdateVpcAttachmentInputBuilder
source§fn clone(&self) -> UpdateVpcAttachmentInputBuilder
fn clone(&self) -> UpdateVpcAttachmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateVpcAttachmentInputBuilder
impl Default for UpdateVpcAttachmentInputBuilder
source§fn default() -> UpdateVpcAttachmentInputBuilder
fn default() -> UpdateVpcAttachmentInputBuilder
source§impl PartialEq for UpdateVpcAttachmentInputBuilder
impl PartialEq for UpdateVpcAttachmentInputBuilder
source§fn eq(&self, other: &UpdateVpcAttachmentInputBuilder) -> bool
fn eq(&self, other: &UpdateVpcAttachmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateVpcAttachmentInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateVpcAttachmentInputBuilder
impl RefUnwindSafe for UpdateVpcAttachmentInputBuilder
impl Send for UpdateVpcAttachmentInputBuilder
impl Sync for UpdateVpcAttachmentInputBuilder
impl Unpin for UpdateVpcAttachmentInputBuilder
impl UnwindSafe for UpdateVpcAttachmentInputBuilder
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
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>
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>
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 more