Struct aws_sdk_config::model::Relationship
source · #[non_exhaustive]pub struct Relationship { /* private fields */ }Expand description
The relationship of the related resource to the main resource.
Implementations§
source§impl Relationship
impl Relationship
sourcepub fn resource_type(&self) -> Option<&ResourceType>
pub fn resource_type(&self) -> Option<&ResourceType>
The resource type of the related resource.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the related resource (for example, sg-xxxxxx).
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
The custom name of the related resource, if available.
sourcepub fn relationship_name(&self) -> Option<&str>
pub fn relationship_name(&self) -> Option<&str>
The type of relationship with the related resource.
source§impl Relationship
impl Relationship
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Relationship.
Trait Implementations§
source§impl Clone for Relationship
impl Clone for Relationship
source§fn clone(&self) -> Relationship
fn clone(&self) -> Relationship
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 more