Struct aws_sdk_ec2::model::AnalysisRouteTableRoute
source · [−]#[non_exhaustive]pub struct AnalysisRouteTableRoute {
pub destination_cidr: Option<String>,
pub destination_prefix_list_id: Option<String>,
pub egress_only_internet_gateway_id: Option<String>,
pub gateway_id: Option<String>,
pub instance_id: Option<String>,
pub nat_gateway_id: Option<String>,
pub network_interface_id: Option<String>,
pub origin: Option<String>,
pub transit_gateway_id: Option<String>,
pub vpc_peering_connection_id: Option<String>,
}
Expand description
Describes a route table 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.destination_cidr: Option<String>
The destination IPv4 address, in CIDR notation.
destination_prefix_list_id: Option<String>
The prefix of the Amazon Web Service.
egress_only_internet_gateway_id: Option<String>
The ID of an egress-only internet gateway.
gateway_id: Option<String>
The ID of the gateway, such as an internet gateway or virtual private gateway.
instance_id: Option<String>
The ID of the instance, such as a NAT instance.
nat_gateway_id: Option<String>
The ID of a NAT gateway.
network_interface_id: Option<String>
The ID of a network interface.
origin: Option<String>
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
transit_gateway_id: Option<String>
The ID of a transit gateway.
vpc_peering_connection_id: Option<String>
The ID of a VPC peering connection.
Implementations
sourceimpl AnalysisRouteTableRoute
impl AnalysisRouteTableRoute
sourcepub fn destination_cidr(&self) -> Option<&str>
pub fn destination_cidr(&self) -> Option<&str>
The destination IPv4 address, in CIDR notation.
sourcepub fn destination_prefix_list_id(&self) -> Option<&str>
pub fn destination_prefix_list_id(&self) -> Option<&str>
The prefix of the Amazon Web Service.
sourcepub fn egress_only_internet_gateway_id(&self) -> Option<&str>
pub fn egress_only_internet_gateway_id(&self) -> Option<&str>
The ID of an egress-only internet gateway.
sourcepub fn gateway_id(&self) -> Option<&str>
pub fn gateway_id(&self) -> Option<&str>
The ID of the gateway, such as an internet gateway or virtual private gateway.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The ID of the instance, such as a NAT instance.
sourcepub fn nat_gateway_id(&self) -> Option<&str>
pub fn nat_gateway_id(&self) -> Option<&str>
The ID of a NAT gateway.
sourcepub fn network_interface_id(&self) -> Option<&str>
pub fn network_interface_id(&self) -> Option<&str>
The ID of a network interface.
sourcepub fn origin(&self) -> Option<&str>
pub fn origin(&self) -> Option<&str>
Describes how the route was created. The following are the possible values:
-
CreateRouteTable - The route was automatically created when the route table was created.
-
CreateRoute - The route was manually added to the route table.
-
EnableVgwRoutePropagation - The route was propagated by route propagation.
sourcepub fn transit_gateway_id(&self) -> Option<&str>
pub fn transit_gateway_id(&self) -> Option<&str>
The ID of a transit gateway.
sourcepub fn vpc_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of a VPC peering connection.
sourceimpl AnalysisRouteTableRoute
impl AnalysisRouteTableRoute
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AnalysisRouteTableRoute
.
Trait Implementations
sourceimpl Clone for AnalysisRouteTableRoute
impl Clone for AnalysisRouteTableRoute
sourcefn clone(&self) -> AnalysisRouteTableRoute
fn clone(&self) -> AnalysisRouteTableRoute
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 AnalysisRouteTableRoute
impl Debug for AnalysisRouteTableRoute
sourceimpl PartialEq<AnalysisRouteTableRoute> for AnalysisRouteTableRoute
impl PartialEq<AnalysisRouteTableRoute> for AnalysisRouteTableRoute
sourcefn eq(&self, other: &AnalysisRouteTableRoute) -> bool
fn eq(&self, other: &AnalysisRouteTableRoute) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AnalysisRouteTableRoute) -> bool
fn ne(&self, other: &AnalysisRouteTableRoute) -> bool
This method tests for !=
.
impl StructuralPartialEq for AnalysisRouteTableRoute
Auto Trait Implementations
impl RefUnwindSafe for AnalysisRouteTableRoute
impl Send for AnalysisRouteTableRoute
impl Sync for AnalysisRouteTableRoute
impl Unpin for AnalysisRouteTableRoute
impl UnwindSafe for AnalysisRouteTableRoute
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