#[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 ==
.