Struct aws_sdk_ec2::model::TransitGatewayRouteTableRoute
source · #[non_exhaustive]pub struct TransitGatewayRouteTableRoute { /* private fields */ }
Expand description
Describes a route in a transit gateway route table.
Implementations§
source§impl TransitGatewayRouteTableRoute
impl TransitGatewayRouteTableRoute
sourcepub fn destination_cidr(&self) -> Option<&str>
pub fn destination_cidr(&self) -> Option<&str>
The CIDR block used for destination matches.
sourcepub fn route_origin(&self) -> Option<&str>
pub fn route_origin(&self) -> Option<&str>
The route origin. The following are the possible values:
-
static
-
propagated
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list.
sourcepub fn attachment_id(&self) -> Option<&str>
pub fn attachment_id(&self) -> Option<&str>
The ID of the route attachment.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The ID of the resource for the route attachment.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type for the route attachment.
source§impl TransitGatewayRouteTableRoute
impl TransitGatewayRouteTableRoute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayRouteTableRoute
.
Trait Implementations§
source§impl Clone for TransitGatewayRouteTableRoute
impl Clone for TransitGatewayRouteTableRoute
source§fn clone(&self) -> TransitGatewayRouteTableRoute
fn clone(&self) -> TransitGatewayRouteTableRoute
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 moresource§impl PartialEq<TransitGatewayRouteTableRoute> for TransitGatewayRouteTableRoute
impl PartialEq<TransitGatewayRouteTableRoute> for TransitGatewayRouteTableRoute
source§fn eq(&self, other: &TransitGatewayRouteTableRoute) -> bool
fn eq(&self, other: &TransitGatewayRouteTableRoute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.