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 ==
.