Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl TargetNetwork
impl TargetNetwork
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TargetNetwork
.
Trait Implementations
sourceimpl Clone for TargetNetwork
impl Clone for TargetNetwork
sourcefn clone(&self) -> TargetNetwork
fn clone(&self) -> TargetNetwork
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 TargetNetwork
impl Debug for TargetNetwork
sourceimpl PartialEq<TargetNetwork> for TargetNetwork
impl PartialEq<TargetNetwork> for TargetNetwork
sourcefn eq(&self, other: &TargetNetwork) -> bool
fn eq(&self, other: &TargetNetwork) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TargetNetwork) -> bool
fn ne(&self, other: &TargetNetwork) -> bool
This method tests for !=
.
impl StructuralPartialEq for TargetNetwork
Auto Trait Implementations
impl RefUnwindSafe for TargetNetwork
impl Send for TargetNetwork
impl Sync for TargetNetwork
impl Unpin for TargetNetwork
impl UnwindSafe for TargetNetwork
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