#[non_exhaustive]pub struct AutomationRulesActionBuilder { /* private fields */ }
Expand description
A builder for AutomationRulesAction
.
Implementations§
source§impl AutomationRulesActionBuilder
impl AutomationRulesActionBuilder
sourcepub fn type(self, input: AutomationRulesActionType) -> Self
pub fn type(self, input: AutomationRulesActionType) -> Self
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 set_type(self, input: Option<AutomationRulesActionType>) -> Self
pub fn set_type(self, input: Option<AutomationRulesActionType>) -> Self
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 get_type(&self) -> &Option<AutomationRulesActionType>
pub fn get_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,
input: AutomationRulesFindingFieldsUpdate
) -> Self
pub fn finding_fields_update( self, input: AutomationRulesFindingFieldsUpdate ) -> Self
Specifies that the automation rule action is an update to a finding field.
sourcepub fn set_finding_fields_update(
self,
input: Option<AutomationRulesFindingFieldsUpdate>
) -> Self
pub fn set_finding_fields_update( self, input: Option<AutomationRulesFindingFieldsUpdate> ) -> Self
Specifies that the automation rule action is an update to a finding field.
sourcepub fn get_finding_fields_update(
&self
) -> &Option<AutomationRulesFindingFieldsUpdate>
pub fn get_finding_fields_update( &self ) -> &Option<AutomationRulesFindingFieldsUpdate>
Specifies that the automation rule action is an update to a finding field.
sourcepub fn build(self) -> AutomationRulesAction
pub fn build(self) -> AutomationRulesAction
Consumes the builder and constructs a AutomationRulesAction
.
Trait Implementations§
source§impl Clone for AutomationRulesActionBuilder
impl Clone for AutomationRulesActionBuilder
source§fn clone(&self) -> AutomationRulesActionBuilder
fn clone(&self) -> AutomationRulesActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutomationRulesActionBuilder
impl Debug for AutomationRulesActionBuilder
source§impl Default for AutomationRulesActionBuilder
impl Default for AutomationRulesActionBuilder
source§fn default() -> AutomationRulesActionBuilder
fn default() -> AutomationRulesActionBuilder
source§impl PartialEq for AutomationRulesActionBuilder
impl PartialEq for AutomationRulesActionBuilder
source§fn eq(&self, other: &AutomationRulesActionBuilder) -> bool
fn eq(&self, other: &AutomationRulesActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutomationRulesActionBuilder
Auto Trait Implementations§
impl Freeze for AutomationRulesActionBuilder
impl RefUnwindSafe for AutomationRulesActionBuilder
impl Send for AutomationRulesActionBuilder
impl Sync for AutomationRulesActionBuilder
impl Unpin for AutomationRulesActionBuilder
impl UnwindSafe for AutomationRulesActionBuilder
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