#[non_exhaustive]pub struct ModifyTrafficMirrorFilterRuleInput { /* private fields */ }
Implementations§
source§impl ModifyTrafficMirrorFilterRuleInput
impl ModifyTrafficMirrorFilterRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTrafficMirrorFilterRule, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTrafficMirrorFilterRule, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyTrafficMirrorFilterRule
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyTrafficMirrorFilterRuleInput
.
source§impl ModifyTrafficMirrorFilterRuleInput
impl ModifyTrafficMirrorFilterRuleInput
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_direction(&self) -> Option<&TrafficDirection>
pub fn traffic_direction(&self) -> Option<&TrafficDirection>
The type of traffic to assign to the rule.
sourcepub fn rule_number(&self) -> Option<i32>
pub fn rule_number(&self) -> Option<i32>
The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given direction. The rules are processed in ascending order by rule number.
sourcepub fn rule_action(&self) -> Option<&TrafficMirrorRuleAction>
pub fn rule_action(&self) -> Option<&TrafficMirrorRuleAction>
The action to assign to the rule.
sourcepub fn destination_port_range(&self) -> Option<&TrafficMirrorPortRangeRequest>
pub fn destination_port_range(&self) -> Option<&TrafficMirrorPortRangeRequest>
The destination ports that are associated with the Traffic Mirror rule.
sourcepub fn source_port_range(&self) -> Option<&TrafficMirrorPortRangeRequest>
pub fn source_port_range(&self) -> Option<&TrafficMirrorPortRangeRequest>
The port range to assign to the Traffic Mirror rule.
sourcepub fn protocol(&self) -> Option<i32>
pub fn protocol(&self) -> Option<i32>
The protocol, for example TCP, to assign 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 to assign 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 to assign to the Traffic Mirror rule.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description to assign to the Traffic Mirror rule.
sourcepub fn remove_fields(&self) -> Option<&[TrafficMirrorFilterRuleField]>
pub fn remove_fields(&self) -> Option<&[TrafficMirrorFilterRuleField]>
The properties that you want to remove from the Traffic Mirror filter rule.
When you remove a property from a Traffic Mirror filter rule, the property is set to the default.
Trait Implementations§
source§impl Clone for ModifyTrafficMirrorFilterRuleInput
impl Clone for ModifyTrafficMirrorFilterRuleInput
source§fn clone(&self) -> ModifyTrafficMirrorFilterRuleInput
fn clone(&self) -> ModifyTrafficMirrorFilterRuleInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyTrafficMirrorFilterRuleInput> for ModifyTrafficMirrorFilterRuleInput
impl PartialEq<ModifyTrafficMirrorFilterRuleInput> for ModifyTrafficMirrorFilterRuleInput
source§fn eq(&self, other: &ModifyTrafficMirrorFilterRuleInput) -> bool
fn eq(&self, other: &ModifyTrafficMirrorFilterRuleInput) -> bool
self
and other
values to be equal, and is used
by ==
.