Struct aws_sdk_networkmanager::operation::update_vpc_attachment::builders::UpdateVpcAttachmentFluentBuilder
source · pub struct UpdateVpcAttachmentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateVpcAttachment
.
Updates a VPC attachment.
Implementations§
source§impl UpdateVpcAttachmentFluentBuilder
impl UpdateVpcAttachmentFluentBuilder
sourcepub fn as_input(&self) -> &UpdateVpcAttachmentInputBuilder
pub fn as_input(&self) -> &UpdateVpcAttachmentInputBuilder
Access the UpdateVpcAttachment as a reference.
sourcepub async fn send(
self
) -> Result<UpdateVpcAttachmentOutput, SdkError<UpdateVpcAttachmentError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateVpcAttachmentOutput, SdkError<UpdateVpcAttachmentError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateVpcAttachmentOutput, UpdateVpcAttachmentError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateVpcAttachmentOutput, UpdateVpcAttachmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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 AddSubnetArns
.
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 RemoveSubnetArns
.
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.
Trait Implementations§
source§impl Clone for UpdateVpcAttachmentFluentBuilder
impl Clone for UpdateVpcAttachmentFluentBuilder
source§fn clone(&self) -> UpdateVpcAttachmentFluentBuilder
fn clone(&self) -> UpdateVpcAttachmentFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more