pub struct Builder { /* private fields */ }
Expand description
A builder for StatelessRulesAndCustomActions
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn stateless_rules(self, input: StatelessRule) -> Self
pub fn stateless_rules(self, input: StatelessRule) -> Self
Appends an item to stateless_rules
.
To override the contents of this collection use set_stateless_rules
.
Defines the set of stateless rules for use in a stateless rule group.
sourcepub fn set_stateless_rules(self, input: Option<Vec<StatelessRule>>) -> Self
pub fn set_stateless_rules(self, input: Option<Vec<StatelessRule>>) -> Self
Defines the set of stateless rules for use in a stateless rule group.
sourcepub fn custom_actions(self, input: CustomAction) -> Self
pub fn custom_actions(self, input: CustomAction) -> Self
Appends an item to custom_actions
.
To override the contents of this collection use set_custom_actions
.
Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule
RuleDefinition
Actions
specification.
sourcepub fn set_custom_actions(self, input: Option<Vec<CustomAction>>) -> Self
pub fn set_custom_actions(self, input: Option<Vec<CustomAction>>) -> Self
Defines an array of individual custom action definitions that are available for use by the stateless rules in this StatelessRulesAndCustomActions
specification. You name each custom action that you define, and then you can use it by name in your StatelessRule
RuleDefinition
Actions
specification.
sourcepub fn build(self) -> StatelessRulesAndCustomActions
pub fn build(self) -> StatelessRulesAndCustomActions
Consumes the builder and constructs a StatelessRulesAndCustomActions
.