Struct aws_sdk_ec2::model::TransitGatewayAttachment
source · #[non_exhaustive]pub struct TransitGatewayAttachment { /* private fields */ }
Expand description
Describes an attachment between a resource and a transit gateway.
Implementations§
source§impl TransitGatewayAttachment
impl TransitGatewayAttachment
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 transit_gateway_owner_id(&self) -> Option<&str>
pub fn transit_gateway_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the transit gateway.
sourcepub fn resource_owner_id(&self) -> Option<&str>
pub fn resource_owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the resource.
sourcepub fn resource_type(&self) -> Option<&TransitGatewayAttachmentResourceType>
pub fn resource_type(&self) -> Option<&TransitGatewayAttachmentResourceType>
The resource type. Note that the tgw-peering
resource type has been deprecated.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource.
sourcepub fn state(&self) -> Option<&TransitGatewayAttachmentState>
pub fn state(&self) -> Option<&TransitGatewayAttachmentState>
The attachment state. Note that the initiating
state has been deprecated.
sourcepub fn association(&self) -> Option<&TransitGatewayAttachmentAssociation>
pub fn association(&self) -> Option<&TransitGatewayAttachmentAssociation>
The association.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The creation time.
The tags for the attachment.
source§impl TransitGatewayAttachment
impl TransitGatewayAttachment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayAttachment
impl Clone for TransitGatewayAttachment
source§fn clone(&self) -> TransitGatewayAttachment
fn clone(&self) -> TransitGatewayAttachment
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 TransitGatewayAttachment
impl Debug for TransitGatewayAttachment
source§impl PartialEq<TransitGatewayAttachment> for TransitGatewayAttachment
impl PartialEq<TransitGatewayAttachment> for TransitGatewayAttachment
source§fn eq(&self, other: &TransitGatewayAttachment) -> bool
fn eq(&self, other: &TransitGatewayAttachment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.