Struct aws_sdk_ec2::model::TrafficMirrorFilterRule
source · [−]#[non_exhaustive]pub struct TrafficMirrorFilterRule { /* private fields */ }
Expand description
Describes the Traffic Mirror rule.
Implementations
sourceimpl TrafficMirrorFilterRule
impl TrafficMirrorFilterRule
sourcepub fn traffic_mirror_filter_rule_id(&self) -> Option<&str>
pub fn traffic_mirror_filter_rule_id(&self) -> Option<&str>
The ID of the Traffic Mirror rule.
sourcepub fn traffic_mirror_filter_id(&self) -> Option<&str>
pub fn traffic_mirror_filter_id(&self) -> Option<&str>
The ID of the Traffic Mirror filter that the rule is associated with.
sourcepub fn traffic_direction(&self) -> Option<&TrafficDirection>
pub fn traffic_direction(&self) -> Option<&TrafficDirection>
The traffic direction assigned to the Traffic Mirror rule.
sourcepub fn rule_number(&self) -> Option<i32>
pub fn rule_number(&self) -> Option<i32>
The rule number of the Traffic Mirror rule.
sourcepub fn rule_action(&self) -> Option<&TrafficMirrorRuleAction>
pub fn rule_action(&self) -> Option<&TrafficMirrorRuleAction>
The action assigned to the Traffic Mirror rule.
sourcepub fn destination_port_range(&self) -> Option<&TrafficMirrorPortRange>
pub fn destination_port_range(&self) -> Option<&TrafficMirrorPortRange>
The destination port range assigned to the Traffic Mirror rule.
sourcepub fn source_port_range(&self) -> Option<&TrafficMirrorPortRange>
pub fn source_port_range(&self) -> Option<&TrafficMirrorPortRange>
The source port range assigned to the Traffic Mirror rule.
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The destination CIDR block assigned to the Traffic Mirror rule.
sourcepub fn source_cidr_block(&self) -> Option<&str>
pub fn source_cidr_block(&self) -> Option<&str>
The source CIDR block assigned to the Traffic Mirror rule.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the Traffic Mirror rule.
sourceimpl TrafficMirrorFilterRule
impl TrafficMirrorFilterRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrafficMirrorFilterRule
.
Trait Implementations
sourceimpl Clone for TrafficMirrorFilterRule
impl Clone for TrafficMirrorFilterRule
sourcefn clone(&self) -> TrafficMirrorFilterRule
fn clone(&self) -> TrafficMirrorFilterRule
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 moresourceimpl Debug for TrafficMirrorFilterRule
impl Debug for TrafficMirrorFilterRule
sourceimpl PartialEq<TrafficMirrorFilterRule> for TrafficMirrorFilterRule
impl PartialEq<TrafficMirrorFilterRule> for TrafficMirrorFilterRule
sourcefn eq(&self, other: &TrafficMirrorFilterRule) -> bool
fn eq(&self, other: &TrafficMirrorFilterRule) -> bool
impl StructuralPartialEq for TrafficMirrorFilterRule
Auto Trait Implementations
impl RefUnwindSafe for TrafficMirrorFilterRule
impl Send for TrafficMirrorFilterRule
impl Sync for TrafficMirrorFilterRule
impl Unpin for TrafficMirrorFilterRule
impl UnwindSafe for TrafficMirrorFilterRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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