Struct aws_sdk_fms::model::Ec2ReplaceRouteAction
source · [−]#[non_exhaustive]pub struct Ec2ReplaceRouteAction {
pub description: Option<String>,
pub destination_cidr_block: Option<String>,
pub destination_prefix_list_id: Option<String>,
pub destination_ipv6_cidr_block: Option<String>,
pub gateway_id: Option<ActionTarget>,
pub route_table_id: Option<ActionTarget>,
}
Expand description
Information about the ReplaceRoute action in Amazon EC2.
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.description: Option<String>
A description of the ReplaceRoute action in Amazon EC2.
destination_cidr_block: Option<String>
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
destination_prefix_list_id: Option<String>
Information about the ID of the prefix list for the route.
destination_ipv6_cidr_block: Option<String>
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
gateway_id: Option<ActionTarget>
Information about the ID of an internet gateway or virtual private gateway.
route_table_id: Option<ActionTarget>
Information about the ID of the route table.
Implementations
sourceimpl Ec2ReplaceRouteAction
impl Ec2ReplaceRouteAction
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the ReplaceRoute action in Amazon EC2.
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
Information about the IPv4 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
sourcepub fn destination_prefix_list_id(&self) -> Option<&str>
pub fn destination_prefix_list_id(&self) -> Option<&str>
Information about the ID of the prefix list for the route.
sourcepub fn destination_ipv6_cidr_block(&self) -> Option<&str>
pub fn destination_ipv6_cidr_block(&self) -> Option<&str>
Information about the IPv6 CIDR address block used for the destination match. The value that you provide must match the CIDR of an existing route in the table.
sourcepub fn gateway_id(&self) -> Option<&ActionTarget>
pub fn gateway_id(&self) -> Option<&ActionTarget>
Information about the ID of an internet gateway or virtual private gateway.
sourcepub fn route_table_id(&self) -> Option<&ActionTarget>
pub fn route_table_id(&self) -> Option<&ActionTarget>
Information about the ID of the route table.
sourceimpl Ec2ReplaceRouteAction
impl Ec2ReplaceRouteAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Ec2ReplaceRouteAction
.
Trait Implementations
sourceimpl Clone for Ec2ReplaceRouteAction
impl Clone for Ec2ReplaceRouteAction
sourcefn clone(&self) -> Ec2ReplaceRouteAction
fn clone(&self) -> Ec2ReplaceRouteAction
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 Ec2ReplaceRouteAction
impl Debug for Ec2ReplaceRouteAction
sourceimpl PartialEq<Ec2ReplaceRouteAction> for Ec2ReplaceRouteAction
impl PartialEq<Ec2ReplaceRouteAction> for Ec2ReplaceRouteAction
sourcefn eq(&self, other: &Ec2ReplaceRouteAction) -> bool
fn eq(&self, other: &Ec2ReplaceRouteAction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Ec2ReplaceRouteAction) -> bool
fn ne(&self, other: &Ec2ReplaceRouteAction) -> bool
This method tests for !=
.
impl StructuralPartialEq for Ec2ReplaceRouteAction
Auto Trait Implementations
impl RefUnwindSafe for Ec2ReplaceRouteAction
impl Send for Ec2ReplaceRouteAction
impl Sync for Ec2ReplaceRouteAction
impl Unpin for Ec2ReplaceRouteAction
impl UnwindSafe for Ec2ReplaceRouteAction
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