Struct aws_sdk_securityhub::model::rule_group_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RuleGroupDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn rule_variables(self, input: RuleGroupVariables) -> Self
pub fn rule_variables(self, input: RuleGroupVariables) -> Self
Additional settings to use in the specified rules.
sourcepub fn set_rule_variables(self, input: Option<RuleGroupVariables>) -> Self
pub fn set_rule_variables(self, input: Option<RuleGroupVariables>) -> Self
Additional settings to use in the specified rules.
sourcepub fn rules_source(self, input: RuleGroupSource) -> Self
pub fn rules_source(self, input: RuleGroupSource) -> Self
The rules and actions for the rule group.
For stateful rule groups, can contain RulesString
, RulesSourceList
, or StatefulRules
.
For stateless rule groups, contains StatelessRulesAndCustomActions
.
sourcepub fn set_rules_source(self, input: Option<RuleGroupSource>) -> Self
pub fn set_rules_source(self, input: Option<RuleGroupSource>) -> Self
The rules and actions for the rule group.
For stateful rule groups, can contain RulesString
, RulesSourceList
, or StatefulRules
.
For stateless rule groups, contains StatelessRulesAndCustomActions
.
sourcepub fn build(self) -> RuleGroupDetails
pub fn build(self) -> RuleGroupDetails
Consumes the builder and constructs a RuleGroupDetails
.