Struct aws_sdk_ec2::types::TransitGatewayVpcAttachment
source · #[non_exhaustive]pub struct TransitGatewayVpcAttachment {
pub transit_gateway_attachment_id: Option<String>,
pub transit_gateway_id: Option<String>,
pub vpc_id: Option<String>,
pub vpc_owner_id: Option<String>,
pub state: Option<TransitGatewayAttachmentState>,
pub subnet_ids: Option<Vec<String>>,
pub creation_time: Option<DateTime>,
pub options: Option<TransitGatewayVpcAttachmentOptions>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes a VPC attachment.
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.transit_gateway_attachment_id: Option<String>
The ID of the attachment.
transit_gateway_id: Option<String>
The ID of the transit gateway.
vpc_id: Option<String>
The ID of the VPC.
vpc_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the VPC.
state: Option<TransitGatewayAttachmentState>
The state of the VPC attachment. Note that the initiating
state has been deprecated.
subnet_ids: Option<Vec<String>>
The IDs of the subnets.
creation_time: Option<DateTime>
The creation time.
options: Option<TransitGatewayVpcAttachmentOptions>
The VPC attachment options.
The tags for the VPC attachment.
Implementations§
source§impl TransitGatewayVpcAttachment
impl TransitGatewayVpcAttachment
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of the transit gateway.
sourcepub fn vpc_owner_id(&self) -> Option<&str>
pub fn vpc_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the VPC.
sourcepub fn state(&self) -> Option<&TransitGatewayAttachmentState>
pub fn state(&self) -> Option<&TransitGatewayAttachmentState>
The state of the VPC attachment. Note that the initiating
state has been deprecated.
sourcepub fn subnet_ids(&self) -> Option<&[String]>
pub fn subnet_ids(&self) -> Option<&[String]>
The IDs of the subnets.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The creation time.
sourcepub fn options(&self) -> Option<&TransitGatewayVpcAttachmentOptions>
pub fn options(&self) -> Option<&TransitGatewayVpcAttachmentOptions>
The VPC attachment options.
The tags for the VPC attachment.
source§impl TransitGatewayVpcAttachment
impl TransitGatewayVpcAttachment
sourcepub fn builder() -> TransitGatewayVpcAttachmentBuilder
pub fn builder() -> TransitGatewayVpcAttachmentBuilder
Creates a new builder-style object to manufacture TransitGatewayVpcAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayVpcAttachment
impl Clone for TransitGatewayVpcAttachment
source§fn clone(&self) -> TransitGatewayVpcAttachment
fn clone(&self) -> TransitGatewayVpcAttachment
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 TransitGatewayVpcAttachment
impl Debug for TransitGatewayVpcAttachment
source§impl PartialEq<TransitGatewayVpcAttachment> for TransitGatewayVpcAttachment
impl PartialEq<TransitGatewayVpcAttachment> for TransitGatewayVpcAttachment
source§fn eq(&self, other: &TransitGatewayVpcAttachment) -> bool
fn eq(&self, other: &TransitGatewayVpcAttachment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayVpcAttachment
Auto Trait Implementations§
impl RefUnwindSafe for TransitGatewayVpcAttachment
impl Send for TransitGatewayVpcAttachment
impl Sync for TransitGatewayVpcAttachment
impl Unpin for TransitGatewayVpcAttachment
impl UnwindSafe for TransitGatewayVpcAttachment
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