#[non_exhaustive]pub struct TransitGatewayPrefixListAttachment { /* private fields */ }
Expand description
Describes a transit gateway prefix list attachment.
Implementations§
source§impl TransitGatewayPrefixListAttachment
impl TransitGatewayPrefixListAttachment
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 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.
source§impl TransitGatewayPrefixListAttachment
impl TransitGatewayPrefixListAttachment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayPrefixListAttachment
.
Trait Implementations§
source§impl Clone for TransitGatewayPrefixListAttachment
impl Clone for TransitGatewayPrefixListAttachment
source§fn clone(&self) -> TransitGatewayPrefixListAttachment
fn clone(&self) -> TransitGatewayPrefixListAttachment
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 PartialEq<TransitGatewayPrefixListAttachment> for TransitGatewayPrefixListAttachment
impl PartialEq<TransitGatewayPrefixListAttachment> for TransitGatewayPrefixListAttachment
source§fn eq(&self, other: &TransitGatewayPrefixListAttachment) -> bool
fn eq(&self, other: &TransitGatewayPrefixListAttachment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.