#[non_exhaustive]pub struct TransitGatewayPeeringAttachment {
pub transit_gateway_attachment_id: Option<String>,
pub accepter_transit_gateway_attachment_id: Option<String>,
pub requester_tgw_info: Option<PeeringTgwInfo>,
pub accepter_tgw_info: Option<PeeringTgwInfo>,
pub options: Option<TransitGatewayPeeringAttachmentOptions>,
pub status: Option<PeeringAttachmentStatus>,
pub state: Option<TransitGatewayAttachmentState>,
pub creation_time: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes the transit gateway peering 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 transit gateway peering attachment.
accepter_transit_gateway_attachment_id: Option<String>
The ID of the accepter transit gateway attachment.
requester_tgw_info: Option<PeeringTgwInfo>
Information about the requester transit gateway.
accepter_tgw_info: Option<PeeringTgwInfo>
Information about the accepter transit gateway.
options: Option<TransitGatewayPeeringAttachmentOptions>
Details about the transit gateway peering attachment.
status: Option<PeeringAttachmentStatus>
The status of the transit gateway peering attachment.
state: Option<TransitGatewayAttachmentState>
The state of the transit gateway peering attachment. Note that the initiating
state has been deprecated.
creation_time: Option<DateTime>
The time the transit gateway peering attachment was created.
The tags for the transit gateway peering attachment.
Implementations§
source§impl TransitGatewayPeeringAttachment
impl TransitGatewayPeeringAttachment
sourcepub fn transit_gateway_attachment_id(&self) -> Option<&str>
pub fn transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the transit gateway peering attachment.
sourcepub fn accepter_transit_gateway_attachment_id(&self) -> Option<&str>
pub fn accepter_transit_gateway_attachment_id(&self) -> Option<&str>
The ID of the accepter transit gateway attachment.
sourcepub fn requester_tgw_info(&self) -> Option<&PeeringTgwInfo>
pub fn requester_tgw_info(&self) -> Option<&PeeringTgwInfo>
Information about the requester transit gateway.
sourcepub fn accepter_tgw_info(&self) -> Option<&PeeringTgwInfo>
pub fn accepter_tgw_info(&self) -> Option<&PeeringTgwInfo>
Information about the accepter transit gateway.
sourcepub fn options(&self) -> Option<&TransitGatewayPeeringAttachmentOptions>
pub fn options(&self) -> Option<&TransitGatewayPeeringAttachmentOptions>
Details about the transit gateway peering attachment.
sourcepub fn status(&self) -> Option<&PeeringAttachmentStatus>
pub fn status(&self) -> Option<&PeeringAttachmentStatus>
The status of the transit gateway peering attachment.
sourcepub fn state(&self) -> Option<&TransitGatewayAttachmentState>
pub fn state(&self) -> Option<&TransitGatewayAttachmentState>
The state of the transit gateway peering attachment. Note that the initiating
state has been deprecated.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the transit gateway peering attachment was created.
The tags for the transit gateway peering attachment.
source§impl TransitGatewayPeeringAttachment
impl TransitGatewayPeeringAttachment
sourcepub fn builder() -> TransitGatewayPeeringAttachmentBuilder
pub fn builder() -> TransitGatewayPeeringAttachmentBuilder
Creates a new builder-style object to manufacture TransitGatewayPeeringAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayPeeringAttachment
impl Clone for TransitGatewayPeeringAttachment
source§fn clone(&self) -> TransitGatewayPeeringAttachment
fn clone(&self) -> TransitGatewayPeeringAttachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<TransitGatewayPeeringAttachment> for TransitGatewayPeeringAttachment
impl PartialEq<TransitGatewayPeeringAttachment> for TransitGatewayPeeringAttachment
source§fn eq(&self, other: &TransitGatewayPeeringAttachment) -> bool
fn eq(&self, other: &TransitGatewayPeeringAttachment) -> bool
self
and other
values to be equal, and is used
by ==
.