Struct aws_sdk_ec2::model::TransitGatewayAttachment
source · [−]#[non_exhaustive]pub struct TransitGatewayAttachment {
pub transit_gateway_attachment_id: Option<String>,
pub transit_gateway_id: Option<String>,
pub transit_gateway_owner_id: Option<String>,
pub resource_owner_id: Option<String>,
pub resource_type: Option<TransitGatewayAttachmentResourceType>,
pub resource_id: Option<String>,
pub state: Option<TransitGatewayAttachmentState>,
pub association: Option<TransitGatewayAttachmentAssociation>,
pub creation_time: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Describes an attachment between a resource and a transit gateway.
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.
transit_gateway_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the transit gateway.
resource_owner_id: Option<String>
The ID of the Amazon Web Services account that owns the resource.
resource_type: Option<TransitGatewayAttachmentResourceType>
The resource type. Note that the tgw-peering
resource type has been deprecated.
resource_id: Option<String>
The ID of the resource.
state: Option<TransitGatewayAttachmentState>
The attachment state. Note that the initiating
state has been deprecated.
association: Option<TransitGatewayAttachmentAssociation>
The association.
creation_time: Option<DateTime>
The creation time.
The tags for the attachment.
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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TransitGatewayAttachment) -> bool
fn ne(&self, other: &TransitGatewayAttachment) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more