Struct aws_sdk_securityhub::types::builders::RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
source · #[non_exhaustive]pub struct RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder { /* private fields */ }Expand description
A builder for RuleGroupSourceStatelessRulesAndCustomActionsDetails.
Implementations§
source§impl RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
impl RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
sourcepub fn custom_actions(self, input: RuleGroupSourceCustomActionsDetails) -> Self
pub fn custom_actions(self, input: RuleGroupSourceCustomActionsDetails) -> Self
Appends an item to custom_actions.
To override the contents of this collection use set_custom_actions.
Custom actions for the rule group.
sourcepub fn set_custom_actions(
self,
input: Option<Vec<RuleGroupSourceCustomActionsDetails>>
) -> Self
pub fn set_custom_actions( self, input: Option<Vec<RuleGroupSourceCustomActionsDetails>> ) -> Self
Custom actions for the rule group.
sourcepub fn stateless_rules(
self,
input: RuleGroupSourceStatelessRulesDetails
) -> Self
pub fn stateless_rules( self, input: RuleGroupSourceStatelessRulesDetails ) -> Self
Appends an item to stateless_rules.
To override the contents of this collection use set_stateless_rules.
Stateless rules for the rule group.
sourcepub fn set_stateless_rules(
self,
input: Option<Vec<RuleGroupSourceStatelessRulesDetails>>
) -> Self
pub fn set_stateless_rules( self, input: Option<Vec<RuleGroupSourceStatelessRulesDetails>> ) -> Self
Stateless rules for the rule group.
sourcepub fn build(self) -> RuleGroupSourceStatelessRulesAndCustomActionsDetails
pub fn build(self) -> RuleGroupSourceStatelessRulesAndCustomActionsDetails
Consumes the builder and constructs a RuleGroupSourceStatelessRulesAndCustomActionsDetails.
Trait Implementations§
source§impl Clone for RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
impl Clone for RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
source§fn clone(&self) -> RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
fn clone(&self) -> RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
impl Default for RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
source§fn default() -> RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
fn default() -> RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder> for RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
impl PartialEq<RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder> for RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
source§fn eq(
&self,
other: &RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder
) -> bool
fn eq( &self, other: &RuleGroupSourceStatelessRulesAndCustomActionsDetailsBuilder ) -> bool
This method tests for
self and other values to be equal, and is used
by ==.