Struct aws_sdk_ec2::model::TransitGatewayRoute
source · #[non_exhaustive]pub struct TransitGatewayRoute { /* private fields */ }
Expand description
Describes a route for a transit gateway route table.
Implementations§
source§impl TransitGatewayRoute
impl TransitGatewayRoute
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The CIDR block used for destination matches.
sourcepub fn prefix_list_id(&self) -> Option<&str>
pub fn prefix_list_id(&self) -> Option<&str>
The ID of the prefix list used for destination matches.
sourcepub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
pub fn transit_gateway_route_table_announcement_id(&self) -> Option<&str>
The ID of the transit gateway route table announcement.
sourcepub fn transit_gateway_attachments(
&self
) -> Option<&[TransitGatewayRouteAttachment]>
pub fn transit_gateway_attachments(
&self
) -> Option<&[TransitGatewayRouteAttachment]>
The attachments.
sourcepub fn type(&self) -> Option<&TransitGatewayRouteType>
pub fn type(&self) -> Option<&TransitGatewayRouteType>
The route type.
sourcepub fn state(&self) -> Option<&TransitGatewayRouteState>
pub fn state(&self) -> Option<&TransitGatewayRouteState>
The state of the route.
source§impl TransitGatewayRoute
impl TransitGatewayRoute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TransitGatewayRoute
.
Trait Implementations§
source§impl Clone for TransitGatewayRoute
impl Clone for TransitGatewayRoute
source§fn clone(&self) -> TransitGatewayRoute
fn clone(&self) -> TransitGatewayRoute
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 Debug for TransitGatewayRoute
impl Debug for TransitGatewayRoute
source§impl PartialEq<TransitGatewayRoute> for TransitGatewayRoute
impl PartialEq<TransitGatewayRoute> for TransitGatewayRoute
source§fn eq(&self, other: &TransitGatewayRoute) -> bool
fn eq(&self, other: &TransitGatewayRoute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.