#[non_exhaustive]pub struct RuleGroupSourceStatelessRulesDetailsBuilder { /* private fields */ }Expand description
A builder for RuleGroupSourceStatelessRulesDetails.
Implementations§
source§impl RuleGroupSourceStatelessRulesDetailsBuilder
impl RuleGroupSourceStatelessRulesDetailsBuilder
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.
Trait Implementations§
source§impl Clone for RuleGroupSourceStatelessRulesDetailsBuilder
impl Clone for RuleGroupSourceStatelessRulesDetailsBuilder
source§fn clone(&self) -> RuleGroupSourceStatelessRulesDetailsBuilder
fn clone(&self) -> RuleGroupSourceStatelessRulesDetailsBuilder
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 RuleGroupSourceStatelessRulesDetailsBuilder
impl Default for RuleGroupSourceStatelessRulesDetailsBuilder
source§fn default() -> RuleGroupSourceStatelessRulesDetailsBuilder
fn default() -> RuleGroupSourceStatelessRulesDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<RuleGroupSourceStatelessRulesDetailsBuilder> for RuleGroupSourceStatelessRulesDetailsBuilder
impl PartialEq<RuleGroupSourceStatelessRulesDetailsBuilder> for RuleGroupSourceStatelessRulesDetailsBuilder
source§fn eq(&self, other: &RuleGroupSourceStatelessRulesDetailsBuilder) -> bool
fn eq(&self, other: &RuleGroupSourceStatelessRulesDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.