#[non_exhaustive]pub struct RuleGroupDetailsBuilder { /* private fields */ }
Expand description
A builder for RuleGroupDetails
.
Implementations§
source§impl RuleGroupDetailsBuilder
impl RuleGroupDetailsBuilder
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 get_rule_variables(&self) -> &Option<RuleGroupVariables>
pub fn get_rule_variables(&self) -> &Option<RuleGroupVariables>
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 get_rules_source(&self) -> &Option<RuleGroupSource>
pub fn get_rules_source(&self) -> &Option<RuleGroupSource>
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
.
Trait Implementations§
source§impl Clone for RuleGroupDetailsBuilder
impl Clone for RuleGroupDetailsBuilder
source§fn clone(&self) -> RuleGroupDetailsBuilder
fn clone(&self) -> RuleGroupDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RuleGroupDetailsBuilder
impl Debug for RuleGroupDetailsBuilder
source§impl Default for RuleGroupDetailsBuilder
impl Default for RuleGroupDetailsBuilder
source§fn default() -> RuleGroupDetailsBuilder
fn default() -> RuleGroupDetailsBuilder
source§impl PartialEq for RuleGroupDetailsBuilder
impl PartialEq for RuleGroupDetailsBuilder
source§fn eq(&self, other: &RuleGroupDetailsBuilder) -> bool
fn eq(&self, other: &RuleGroupDetailsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.