Struct aws_sdk_networkmanager::model::NetworkRoute
source · #[non_exhaustive]pub struct NetworkRoute { /* private fields */ }Expand description
Describes a network route.
Implementations§
source§impl NetworkRoute
impl NetworkRoute
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
A unique identifier for the route, such as a CIDR block.
sourcepub fn destinations(&self) -> Option<&[NetworkRouteDestination]>
pub fn destinations(&self) -> Option<&[NetworkRouteDestination]>
The destinations.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list.
sourcepub fn state(&self) -> Option<&RouteState>
pub fn state(&self) -> Option<&RouteState>
The route state. The possible values are active and blackhole.
source§impl NetworkRoute
impl NetworkRoute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture NetworkRoute.
Trait Implementations§
source§impl Clone for NetworkRoute
impl Clone for NetworkRoute
source§fn clone(&self) -> NetworkRoute
fn clone(&self) -> NetworkRoute
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