Struct aws_sdk_securityhub::types::AutomationRulesAction
source · #[non_exhaustive]pub struct AutomationRulesAction {
pub type: Option<AutomationRulesActionType>,
pub finding_fields_update: Option<AutomationRulesFindingFieldsUpdate>,
}
Expand description
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
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.type: Option<AutomationRulesActionType>
Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
finding_fields_update: Option<AutomationRulesFindingFieldsUpdate>
Specifies that the automation rule action is an update to a finding field.
Implementations§
source§impl AutomationRulesAction
impl AutomationRulesAction
sourcepub fn type(&self) -> Option<&AutomationRulesActionType>
pub fn type(&self) -> Option<&AutomationRulesActionType>
Specifies that the rule action should update the Types
finding field. The Types
finding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.
sourcepub fn finding_fields_update(
&self
) -> Option<&AutomationRulesFindingFieldsUpdate>
pub fn finding_fields_update( &self ) -> Option<&AutomationRulesFindingFieldsUpdate>
Specifies that the automation rule action is an update to a finding field.
source§impl AutomationRulesAction
impl AutomationRulesAction
sourcepub fn builder() -> AutomationRulesActionBuilder
pub fn builder() -> AutomationRulesActionBuilder
Creates a new builder-style object to manufacture AutomationRulesAction
.
Trait Implementations§
source§impl Clone for AutomationRulesAction
impl Clone for AutomationRulesAction
source§fn clone(&self) -> AutomationRulesAction
fn clone(&self) -> AutomationRulesAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomationRulesAction
impl Debug for AutomationRulesAction
source§impl PartialEq for AutomationRulesAction
impl PartialEq for AutomationRulesAction
source§fn eq(&self, other: &AutomationRulesAction) -> bool
fn eq(&self, other: &AutomationRulesAction) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomationRulesAction
Auto Trait Implementations§
impl Freeze for AutomationRulesAction
impl RefUnwindSafe for AutomationRulesAction
impl Send for AutomationRulesAction
impl Sync for AutomationRulesAction
impl Unpin for AutomationRulesAction
impl UnwindSafe for AutomationRulesAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more