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
sourceimpl 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.
sourceimpl TransitGatewayAttachment
impl TransitGatewayAttachment
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayAttachment
.
Trait Implementations
sourceimpl Clone for TransitGatewayAttachment
impl Clone for TransitGatewayAttachment
sourcefn clone(&self) -> TransitGatewayAttachment
fn clone(&self) -> TransitGatewayAttachment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TransitGatewayAttachment
impl Debug for TransitGatewayAttachment
sourceimpl PartialEq<TransitGatewayAttachment> for TransitGatewayAttachment
impl PartialEq<TransitGatewayAttachment> for TransitGatewayAttachment
sourcefn eq(&self, other: &TransitGatewayAttachment) -> bool
fn eq(&self, other: &TransitGatewayAttachment) -> bool
impl StructuralPartialEq for TransitGatewayAttachment
Auto Trait Implementations
impl RefUnwindSafe for TransitGatewayAttachment
impl Send for TransitGatewayAttachment
impl Sync for TransitGatewayAttachment
impl Unpin for TransitGatewayAttachment
impl UnwindSafe for TransitGatewayAttachment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more