#[non_exhaustive]pub struct AwsManagedRulesBotControlRuleSetBuilder { /* private fields */ }Expand description
A builder for AwsManagedRulesBotControlRuleSet.
Implementations§
source§impl AwsManagedRulesBotControlRuleSetBuilder
impl AwsManagedRulesBotControlRuleSetBuilder
sourcepub fn inspection_level(self, input: InspectionLevel) -> Self
pub fn inspection_level(self, input: InspectionLevel) -> Self
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
sourcepub fn set_inspection_level(self, input: Option<InspectionLevel>) -> Self
pub fn set_inspection_level(self, input: Option<InspectionLevel>) -> Self
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
sourcepub fn get_inspection_level(&self) -> &Option<InspectionLevel>
pub fn get_inspection_level(&self) -> &Option<InspectionLevel>
The inspection level to use for the Bot Control rule group. The common level is the least expensive. The targeted level includes all common level rules and adds rules with more advanced inspection criteria. For details, see WAF Bot Control rule group in the WAF Developer Guide.
sourcepub fn build(self) -> AwsManagedRulesBotControlRuleSet
pub fn build(self) -> AwsManagedRulesBotControlRuleSet
Consumes the builder and constructs a AwsManagedRulesBotControlRuleSet.
Trait Implementations§
source§impl Clone for AwsManagedRulesBotControlRuleSetBuilder
impl Clone for AwsManagedRulesBotControlRuleSetBuilder
source§fn clone(&self) -> AwsManagedRulesBotControlRuleSetBuilder
fn clone(&self) -> AwsManagedRulesBotControlRuleSetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsManagedRulesBotControlRuleSetBuilder
impl Default for AwsManagedRulesBotControlRuleSetBuilder
source§fn default() -> AwsManagedRulesBotControlRuleSetBuilder
fn default() -> AwsManagedRulesBotControlRuleSetBuilder
source§impl PartialEq<AwsManagedRulesBotControlRuleSetBuilder> for AwsManagedRulesBotControlRuleSetBuilder
impl PartialEq<AwsManagedRulesBotControlRuleSetBuilder> for AwsManagedRulesBotControlRuleSetBuilder
source§fn eq(&self, other: &AwsManagedRulesBotControlRuleSetBuilder) -> bool
fn eq(&self, other: &AwsManagedRulesBotControlRuleSetBuilder) -> bool
self and other values to be equal, and is used
by ==.