Struct aws_sdk_networkmanager::types::Attachment
source · #[non_exhaustive]pub struct Attachment {Show 14 fields
pub core_network_id: Option<String>,
pub core_network_arn: Option<String>,
pub attachment_id: Option<String>,
pub owner_account_id: Option<String>,
pub attachment_type: Option<AttachmentType>,
pub state: Option<AttachmentState>,
pub edge_location: Option<String>,
pub resource_arn: Option<String>,
pub attachment_policy_rule_number: Option<i32>,
pub segment_name: Option<String>,
pub tags: Option<Vec<Tag>>,
pub proposed_segment_change: Option<ProposedSegmentChange>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
}
Expand description
Describes a core network 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.core_network_id: Option<String>
The ID of a core network.
core_network_arn: Option<String>
The ARN of a core network.
attachment_id: Option<String>
The ID of the attachment.
owner_account_id: Option<String>
The ID of the attachment account owner.
attachment_type: Option<AttachmentType>
The type of attachment.
state: Option<AttachmentState>
The state of the attachment.
edge_location: Option<String>
The Region where the edge is located.
resource_arn: Option<String>
The attachment resource ARN.
attachment_policy_rule_number: Option<i32>
The policy rule number associated with the attachment.
segment_name: Option<String>
The name of the segment attachment.
The tags associated with the attachment.
proposed_segment_change: Option<ProposedSegmentChange>
The attachment to move from one segment to another.
created_at: Option<DateTime>
The timestamp when the attachment was created.
updated_at: Option<DateTime>
The timestamp when the attachment was last updated.
Implementations§
source§impl Attachment
impl Attachment
sourcepub fn core_network_id(&self) -> Option<&str>
pub fn core_network_id(&self) -> Option<&str>
The ID of a core network.
sourcepub fn core_network_arn(&self) -> Option<&str>
pub fn core_network_arn(&self) -> Option<&str>
The ARN of a core network.
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the attachment.
sourcepub fn owner_account_id(&self) -> Option<&str>
pub fn owner_account_id(&self) -> Option<&str>
The ID of the attachment account owner.
sourcepub fn attachment_type(&self) -> Option<&AttachmentType>
pub fn attachment_type(&self) -> Option<&AttachmentType>
The type of attachment.
sourcepub fn state(&self) -> Option<&AttachmentState>
pub fn state(&self) -> Option<&AttachmentState>
The state of the attachment.
sourcepub fn edge_location(&self) -> Option<&str>
pub fn edge_location(&self) -> Option<&str>
The Region where the edge is located.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The attachment resource ARN.
sourcepub fn attachment_policy_rule_number(&self) -> Option<i32>
pub fn attachment_policy_rule_number(&self) -> Option<i32>
The policy rule number associated with the attachment.
sourcepub fn segment_name(&self) -> Option<&str>
pub fn segment_name(&self) -> Option<&str>
The name of the segment attachment.
The tags associated with the attachment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn proposed_segment_change(&self) -> Option<&ProposedSegmentChange>
pub fn proposed_segment_change(&self) -> Option<&ProposedSegmentChange>
The attachment to move from one segment to another.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp when the attachment was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp when the attachment was last updated.
source§impl Attachment
impl Attachment
sourcepub fn builder() -> AttachmentBuilder
pub fn builder() -> AttachmentBuilder
Creates a new builder-style object to manufacture Attachment
.
Trait Implementations§
source§impl Clone for Attachment
impl Clone for Attachment
source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Attachment
impl Debug for Attachment
source§impl PartialEq for Attachment
impl PartialEq for Attachment
source§fn eq(&self, other: &Attachment) -> bool
fn eq(&self, other: &Attachment) -> bool
self
and other
values to be equal, and is used
by ==
.