Struct aws_sdk_ec2::types::ClientVpnRoute
source · #[non_exhaustive]pub struct ClientVpnRoute {
pub client_vpn_endpoint_id: Option<String>,
pub destination_cidr: Option<String>,
pub target_subnet: Option<String>,
pub type: Option<String>,
pub origin: Option<String>,
pub status: Option<ClientVpnRouteStatus>,
pub description: Option<String>,
}
Expand description
Information about a Client VPN endpoint route.
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.client_vpn_endpoint_id: Option<String>
The ID of the Client VPN endpoint with which the route is associated.
destination_cidr: Option<String>
The IPv4 address range, in CIDR notation, of the route destination.
target_subnet: Option<String>
The ID of the subnet through which traffic is routed.
type: Option<String>
The route type.
origin: Option<String>
Indicates how the route was associated with the Client VPN endpoint. associate
indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route
indicates that the route was manually added using the CreateClientVpnRoute action.
status: Option<ClientVpnRouteStatus>
The current state of the route.
description: Option<String>
A brief description of the route.
Implementations§
source§impl ClientVpnRoute
impl ClientVpnRoute
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 route is associated.
sourcepub fn destination_cidr(&self) -> Option<&str>
pub fn destination_cidr(&self) -> Option<&str>
The IPv4 address range, in CIDR notation, of the route destination.
sourcepub fn target_subnet(&self) -> Option<&str>
pub fn target_subnet(&self) -> Option<&str>
The ID of the subnet through which traffic is routed.
sourcepub fn origin(&self) -> Option<&str>
pub fn origin(&self) -> Option<&str>
Indicates how the route was associated with the Client VPN endpoint. associate
indicates that the route was automatically added when the target network was associated with the Client VPN endpoint. add-route
indicates that the route was manually added using the CreateClientVpnRoute action.
sourcepub fn status(&self) -> Option<&ClientVpnRouteStatus>
pub fn status(&self) -> Option<&ClientVpnRouteStatus>
The current state of the route.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A brief description of the route.
source§impl ClientVpnRoute
impl ClientVpnRoute
sourcepub fn builder() -> ClientVpnRouteBuilder
pub fn builder() -> ClientVpnRouteBuilder
Creates a new builder-style object to manufacture ClientVpnRoute
.
Trait Implementations§
source§impl Clone for ClientVpnRoute
impl Clone for ClientVpnRoute
source§fn clone(&self) -> ClientVpnRoute
fn clone(&self) -> ClientVpnRoute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ClientVpnRoute
impl Debug for ClientVpnRoute
source§impl PartialEq<ClientVpnRoute> for ClientVpnRoute
impl PartialEq<ClientVpnRoute> for ClientVpnRoute
source§fn eq(&self, other: &ClientVpnRoute) -> bool
fn eq(&self, other: &ClientVpnRoute) -> bool
self
and other
values to be equal, and is used
by ==
.