Struct aws_sdk_ec2::model::TrafficMirrorFilterRule
source · #[non_exhaustive]pub struct TrafficMirrorFilterRule { /* private fields */ }
Expand description
Describes the Traffic Mirror rule.
Implementations§
source§impl 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.
source§impl TrafficMirrorFilterRule
impl TrafficMirrorFilterRule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrafficMirrorFilterRule
.
Trait Implementations§
source§impl Clone for TrafficMirrorFilterRule
impl Clone for TrafficMirrorFilterRule
source§fn clone(&self) -> TrafficMirrorFilterRule
fn clone(&self) -> TrafficMirrorFilterRule
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 TrafficMirrorFilterRule
impl Debug for TrafficMirrorFilterRule
source§impl PartialEq<TrafficMirrorFilterRule> for TrafficMirrorFilterRule
impl PartialEq<TrafficMirrorFilterRule> for TrafficMirrorFilterRule
source§fn eq(&self, other: &TrafficMirrorFilterRule) -> bool
fn eq(&self, other: &TrafficMirrorFilterRule) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.