Struct aws_sdk_ec2::types::TrunkInterfaceAssociation
source · #[non_exhaustive]pub struct TrunkInterfaceAssociation {
pub association_id: Option<String>,
pub branch_interface_id: Option<String>,
pub trunk_interface_id: Option<String>,
pub interface_protocol: Option<InterfaceProtocolType>,
pub vlan_id: Option<i32>,
pub gre_key: Option<i32>,
pub tags: Option<Vec<Tag>>,
}
Expand description
Currently available in limited preview only. If you are interested in using this feature, contact your account manager.
Information about an association between a branch network interface with a trunk network interface.
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.association_id: Option<String>
The ID of the association.
branch_interface_id: Option<String>
The ID of the branch network interface.
trunk_interface_id: Option<String>
The ID of the trunk network interface.
interface_protocol: Option<InterfaceProtocolType>
The interface protocol. Valid values are VLAN
and GRE
.
vlan_id: Option<i32>
The ID of the VLAN when you use the VLAN protocol.
gre_key: Option<i32>
The application key when you use the GRE protocol.
The tags for the trunk interface association.
Implementations§
source§impl TrunkInterfaceAssociation
impl TrunkInterfaceAssociation
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the association.
sourcepub fn branch_interface_id(&self) -> Option<&str>
pub fn branch_interface_id(&self) -> Option<&str>
The ID of the branch network interface.
sourcepub fn trunk_interface_id(&self) -> Option<&str>
pub fn trunk_interface_id(&self) -> Option<&str>
The ID of the trunk network interface.
sourcepub fn interface_protocol(&self) -> Option<&InterfaceProtocolType>
pub fn interface_protocol(&self) -> Option<&InterfaceProtocolType>
The interface protocol. Valid values are VLAN
and GRE
.
The tags for the trunk interface association.
source§impl TrunkInterfaceAssociation
impl TrunkInterfaceAssociation
sourcepub fn builder() -> TrunkInterfaceAssociationBuilder
pub fn builder() -> TrunkInterfaceAssociationBuilder
Creates a new builder-style object to manufacture TrunkInterfaceAssociation
.
Trait Implementations§
source§impl Clone for TrunkInterfaceAssociation
impl Clone for TrunkInterfaceAssociation
source§fn clone(&self) -> TrunkInterfaceAssociation
fn clone(&self) -> TrunkInterfaceAssociation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TrunkInterfaceAssociation
impl Debug for TrunkInterfaceAssociation
source§impl PartialEq<TrunkInterfaceAssociation> for TrunkInterfaceAssociation
impl PartialEq<TrunkInterfaceAssociation> for TrunkInterfaceAssociation
source§fn eq(&self, other: &TrunkInterfaceAssociation) -> bool
fn eq(&self, other: &TrunkInterfaceAssociation) -> bool
self
and other
values to be equal, and is used
by ==
.