#[non_exhaustive]pub struct ModifyTrafficMirrorFilterRuleInput { /* private fields */ }
Implementations
sourceimpl ModifyTrafficMirrorFilterRuleInput
impl ModifyTrafficMirrorFilterRuleInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTrafficMirrorFilterRule, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyTrafficMirrorFilterRule, AwsErrorRetryPolicy>, 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
.
sourceimpl 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
sourceimpl Clone for ModifyTrafficMirrorFilterRuleInput
impl Clone for ModifyTrafficMirrorFilterRuleInput
sourcefn clone(&self) -> ModifyTrafficMirrorFilterRuleInput
fn clone(&self) -> ModifyTrafficMirrorFilterRuleInput
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 PartialEq<ModifyTrafficMirrorFilterRuleInput> for ModifyTrafficMirrorFilterRuleInput
impl PartialEq<ModifyTrafficMirrorFilterRuleInput> for ModifyTrafficMirrorFilterRuleInput
sourcefn eq(&self, other: &ModifyTrafficMirrorFilterRuleInput) -> bool
fn eq(&self, other: &ModifyTrafficMirrorFilterRuleInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ModifyTrafficMirrorFilterRuleInput) -> bool
fn ne(&self, other: &ModifyTrafficMirrorFilterRuleInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ModifyTrafficMirrorFilterRuleInput
Auto Trait Implementations
impl RefUnwindSafe for ModifyTrafficMirrorFilterRuleInput
impl Send for ModifyTrafficMirrorFilterRuleInput
impl Sync for ModifyTrafficMirrorFilterRuleInput
impl Unpin for ModifyTrafficMirrorFilterRuleInput
impl UnwindSafe for ModifyTrafficMirrorFilterRuleInput
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