Struct aws_sdk_waf::types::builders::RuleGroupBuilder
source · #[non_exhaustive]pub struct RuleGroupBuilder { /* private fields */ }Expand description
A builder for RuleGroup.
Implementations§
source§impl RuleGroupBuilder
impl RuleGroupBuilder
sourcepub fn rule_group_id(self, input: impl Into<String>) -> Self
pub fn rule_group_id(self, input: impl Into<String>) -> Self
A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).
RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.
sourcepub fn set_rule_group_id(self, input: Option<String>) -> Self
pub fn set_rule_group_id(self, input: Option<String>) -> Self
A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).
RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.
sourcepub fn get_rule_group_id(&self) -> &Option<String>
pub fn get_rule_group_id(&self) -> &Option<String>
A unique identifier for a RuleGroup. You use RuleGroupId to get more information about a RuleGroup (see GetRuleGroup), update a RuleGroup (see UpdateRuleGroup), insert a RuleGroup into a WebACL or delete a one from a WebACL (see UpdateWebACL), or delete a RuleGroup from AWS WAF (see DeleteRuleGroup).
RuleGroupId is returned by CreateRuleGroup and by ListRuleGroups.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The friendly name or description for the RuleGroup. You can't change the name of a RuleGroup after you create it.
sourcepub fn metric_name(self, input: impl Into<String>) -> Self
pub fn metric_name(self, input: impl Into<String>) -> Self
A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.
sourcepub fn set_metric_name(self, input: Option<String>) -> Self
pub fn set_metric_name(self, input: Option<String>) -> Self
A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.
sourcepub fn get_metric_name(&self) -> &Option<String>
pub fn get_metric_name(&self) -> &Option<String>
A friendly name or description for the metrics for this RuleGroup. The name can contain only alphanumeric characters (A-Z, a-z, 0-9), with maximum length 128 and minimum length one. It can't contain whitespace or metric names reserved for AWS WAF, including "All" and "Default_Action." You can't change the name of the metric after you create the RuleGroup.
Trait Implementations§
source§impl Clone for RuleGroupBuilder
impl Clone for RuleGroupBuilder
source§fn clone(&self) -> RuleGroupBuilder
fn clone(&self) -> RuleGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RuleGroupBuilder
impl Debug for RuleGroupBuilder
source§impl Default for RuleGroupBuilder
impl Default for RuleGroupBuilder
source§fn default() -> RuleGroupBuilder
fn default() -> RuleGroupBuilder
source§impl PartialEq<RuleGroupBuilder> for RuleGroupBuilder
impl PartialEq<RuleGroupBuilder> for RuleGroupBuilder
source§fn eq(&self, other: &RuleGroupBuilder) -> bool
fn eq(&self, other: &RuleGroupBuilder) -> bool
self and other values to be equal, and is used
by ==.