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
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) -> &[String]
pub fn subnet_ids(&self) -> &[String]
The IDs of the subnets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .subnet_ids.is_none()
.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransitGatewayVpcAttachment
impl Debug for TransitGatewayVpcAttachment
source§impl PartialEq for TransitGatewayVpcAttachment
impl PartialEq for TransitGatewayVpcAttachment
source§fn eq(&self, other: &TransitGatewayVpcAttachment) -> bool
fn eq(&self, other: &TransitGatewayVpcAttachment) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransitGatewayVpcAttachment
Auto Trait Implementations§
impl Freeze for TransitGatewayVpcAttachment
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
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