pub struct Builder { /* private fields */ }
Expand description
A builder for RuleGroupSourceStatelessRulesDetails
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
Indicates the order in which to run this rule relative to all of the rules in the stateless rule group.
sourcepub fn rule_definition(
self,
input: RuleGroupSourceStatelessRuleDefinition
) -> Self
pub fn rule_definition(
self,
input: RuleGroupSourceStatelessRuleDefinition
) -> Self
Provides the definition of the stateless rule.
sourcepub fn set_rule_definition(
self,
input: Option<RuleGroupSourceStatelessRuleDefinition>
) -> Self
pub fn set_rule_definition(
self,
input: Option<RuleGroupSourceStatelessRuleDefinition>
) -> Self
Provides the definition of the stateless rule.
sourcepub fn build(self) -> RuleGroupSourceStatelessRulesDetails
pub fn build(self) -> RuleGroupSourceStatelessRulesDetails
Consumes the builder and constructs a RuleGroupSourceStatelessRulesDetails
.