Struct aws_sdk_waf::types::builders::RuleSummaryBuilder
source · #[non_exhaustive]pub struct RuleSummaryBuilder { /* private fields */ }Expand description
A builder for RuleSummary.
Implementations§
source§impl RuleSummaryBuilder
impl RuleSummaryBuilder
sourcepub fn rule_id(self, input: impl Into<String>) -> Self
pub fn rule_id(self, input: impl Into<String>) -> Self
A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).
RuleId is returned by CreateRule and by ListRules.
sourcepub fn set_rule_id(self, input: Option<String>) -> Self
pub fn set_rule_id(self, input: Option<String>) -> Self
A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).
RuleId is returned by CreateRule and by ListRules.
sourcepub fn get_rule_id(&self) -> &Option<String>
pub fn get_rule_id(&self) -> &Option<String>
A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).
RuleId is returned by CreateRule and by ListRules.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
A friendly name or description of the Rule. You can't change the name of a Rule after you create it.
sourcepub fn build(self) -> RuleSummary
pub fn build(self) -> RuleSummary
Consumes the builder and constructs a RuleSummary.
Trait Implementations§
source§impl Clone for RuleSummaryBuilder
impl Clone for RuleSummaryBuilder
source§fn clone(&self) -> RuleSummaryBuilder
fn clone(&self) -> RuleSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RuleSummaryBuilder
impl Debug for RuleSummaryBuilder
source§impl Default for RuleSummaryBuilder
impl Default for RuleSummaryBuilder
source§fn default() -> RuleSummaryBuilder
fn default() -> RuleSummaryBuilder
source§impl PartialEq<RuleSummaryBuilder> for RuleSummaryBuilder
impl PartialEq<RuleSummaryBuilder> for RuleSummaryBuilder
source§fn eq(&self, other: &RuleSummaryBuilder) -> bool
fn eq(&self, other: &RuleSummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.