#[non_exhaustive]pub struct UpdateVpcAttachmentInput {
pub attachment_id: Option<String>,
pub add_subnet_arns: Option<Vec<String>>,
pub remove_subnet_arns: Option<Vec<String>>,
pub options: Option<VpcOptions>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attachment_id: Option<String>
The ID of the attachment.
add_subnet_arns: Option<Vec<String>>
Adds a subnet ARN to the VPC attachment.
remove_subnet_arns: Option<Vec<String>>
Removes a subnet ARN from the attachment.
options: Option<VpcOptions>
Additional options for updating the VPC attachment.
Implementations§
source§impl UpdateVpcAttachmentInput
impl UpdateVpcAttachmentInput
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn add_subnet_arns(&self) -> &[String]
pub fn add_subnet_arns(&self) -> &[String]
Adds a subnet ARN to the VPC attachment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .add_subnet_arns.is_none()
.
sourcepub fn remove_subnet_arns(&self) -> &[String]
pub fn remove_subnet_arns(&self) -> &[String]
Removes a subnet ARN from the attachment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .remove_subnet_arns.is_none()
.
sourcepub fn options(&self) -> Option<&VpcOptions>
pub fn options(&self) -> Option<&VpcOptions>
Additional options for updating the VPC attachment.
source§impl UpdateVpcAttachmentInput
impl UpdateVpcAttachmentInput
sourcepub fn builder() -> UpdateVpcAttachmentInputBuilder
pub fn builder() -> UpdateVpcAttachmentInputBuilder
Creates a new builder-style object to manufacture UpdateVpcAttachmentInput
.
Trait Implementations§
source§impl Clone for UpdateVpcAttachmentInput
impl Clone for UpdateVpcAttachmentInput
source§fn clone(&self) -> UpdateVpcAttachmentInput
fn clone(&self) -> UpdateVpcAttachmentInput
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 UpdateVpcAttachmentInput
impl Debug for UpdateVpcAttachmentInput
source§impl PartialEq for UpdateVpcAttachmentInput
impl PartialEq for UpdateVpcAttachmentInput
source§fn eq(&self, other: &UpdateVpcAttachmentInput) -> bool
fn eq(&self, other: &UpdateVpcAttachmentInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateVpcAttachmentInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateVpcAttachmentInput
impl Send for UpdateVpcAttachmentInput
impl Sync for UpdateVpcAttachmentInput
impl Unpin for UpdateVpcAttachmentInput
impl UnwindSafe for UpdateVpcAttachmentInput
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>
Creates a shared type from an unshared type.