Struct aws_sdk_ec2::types::TargetNetwork
source · #[non_exhaustive]pub struct TargetNetwork {
pub association_id: Option<String>,
pub vpc_id: Option<String>,
pub target_network_id: Option<String>,
pub client_vpn_endpoint_id: Option<String>,
pub status: Option<AssociationStatus>,
pub security_groups: Option<Vec<String>>,
}
Expand description
Describes a target network associated with a Client VPN endpoint.
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.
vpc_id: Option<String>
The ID of the VPC in which the target network (subnet) is located.
target_network_id: Option<String>
The ID of the subnet specified as the target network.
client_vpn_endpoint_id: Option<String>
The ID of the Client VPN endpoint with which the target network is associated.
status: Option<AssociationStatus>
The current state of the target network association.
security_groups: Option<Vec<String>>
The IDs of the security groups applied to the target network association.
Implementations§
source§impl TargetNetwork
impl TargetNetwork
sourcepub fn association_id(&self) -> Option<&str>
pub fn association_id(&self) -> Option<&str>
The ID of the association.
sourcepub fn vpc_id(&self) -> Option<&str>
pub fn vpc_id(&self) -> Option<&str>
The ID of the VPC in which the target network (subnet) is located.
sourcepub fn target_network_id(&self) -> Option<&str>
pub fn target_network_id(&self) -> Option<&str>
The ID of the subnet specified as the target network.
sourcepub fn client_vpn_endpoint_id(&self) -> Option<&str>
pub fn client_vpn_endpoint_id(&self) -> Option<&str>
The ID of the Client VPN endpoint with which the target network is associated.
sourcepub fn status(&self) -> Option<&AssociationStatus>
pub fn status(&self) -> Option<&AssociationStatus>
The current state of the target network association.
sourcepub fn security_groups(&self) -> Option<&[String]>
pub fn security_groups(&self) -> Option<&[String]>
The IDs of the security groups applied to the target network association.
source§impl TargetNetwork
impl TargetNetwork
sourcepub fn builder() -> TargetNetworkBuilder
pub fn builder() -> TargetNetworkBuilder
Creates a new builder-style object to manufacture TargetNetwork
.
Trait Implementations§
source§impl Clone for TargetNetwork
impl Clone for TargetNetwork
source§fn clone(&self) -> TargetNetwork
fn clone(&self) -> TargetNetwork
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TargetNetwork
impl Debug for TargetNetwork
source§impl PartialEq<TargetNetwork> for TargetNetwork
impl PartialEq<TargetNetwork> for TargetNetwork
source§fn eq(&self, other: &TargetNetwork) -> bool
fn eq(&self, other: &TargetNetwork) -> bool
self
and other
values to be equal, and is used
by ==
.