Struct aws_sdk_fms::model::Ec2AssociateRouteTableAction
source · [−]#[non_exhaustive]pub struct Ec2AssociateRouteTableAction {
pub description: Option<String>,
pub route_table_id: Option<ActionTarget>,
pub subnet_id: Option<ActionTarget>,
pub gateway_id: Option<ActionTarget>,
}
Expand description
The action of associating an EC2 resource, such as a subnet or internet gateway, with a route table.
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 EC2 route table that is associated with the remediation action.
route_table_id: Option<ActionTarget>
The ID of the EC2 route table that is associated with the remediation action.
subnet_id: Option<ActionTarget>
The ID of the subnet for the EC2 route table that is associated with the remediation action.
gateway_id: Option<ActionTarget>
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
Implementations
sourceimpl Ec2AssociateRouteTableAction
impl Ec2AssociateRouteTableAction
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the EC2 route table that is associated with the remediation action.
sourcepub fn route_table_id(&self) -> Option<&ActionTarget>
pub fn route_table_id(&self) -> Option<&ActionTarget>
The ID of the EC2 route table that is associated with the remediation action.
sourcepub fn subnet_id(&self) -> Option<&ActionTarget>
pub fn subnet_id(&self) -> Option<&ActionTarget>
The ID of the subnet for the EC2 route table that is associated with the remediation action.
sourcepub fn gateway_id(&self) -> Option<&ActionTarget>
pub fn gateway_id(&self) -> Option<&ActionTarget>
The ID of the gateway to be used with the EC2 route table that is associated with the remediation action.
sourceimpl Ec2AssociateRouteTableAction
impl Ec2AssociateRouteTableAction
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Ec2AssociateRouteTableAction
.
Trait Implementations
sourceimpl Clone for Ec2AssociateRouteTableAction
impl Clone for Ec2AssociateRouteTableAction
sourcefn clone(&self) -> Ec2AssociateRouteTableAction
fn clone(&self) -> Ec2AssociateRouteTableAction
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 Ec2AssociateRouteTableAction
impl Debug for Ec2AssociateRouteTableAction
sourceimpl PartialEq<Ec2AssociateRouteTableAction> for Ec2AssociateRouteTableAction
impl PartialEq<Ec2AssociateRouteTableAction> for Ec2AssociateRouteTableAction
sourcefn eq(&self, other: &Ec2AssociateRouteTableAction) -> bool
fn eq(&self, other: &Ec2AssociateRouteTableAction) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Ec2AssociateRouteTableAction) -> bool
fn ne(&self, other: &Ec2AssociateRouteTableAction) -> bool
This method tests for !=
.
impl StructuralPartialEq for Ec2AssociateRouteTableAction
Auto Trait Implementations
impl RefUnwindSafe for Ec2AssociateRouteTableAction
impl Send for Ec2AssociateRouteTableAction
impl Sync for Ec2AssociateRouteTableAction
impl Unpin for Ec2AssociateRouteTableAction
impl UnwindSafe for Ec2AssociateRouteTableAction
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