Struct aws_sdk_waf::operation::get_rule::builders::GetRuleOutputBuilder
source · #[non_exhaustive]pub struct GetRuleOutputBuilder { /* private fields */ }Expand description
A builder for GetRuleOutput.
Implementations§
source§impl GetRuleOutputBuilder
impl GetRuleOutputBuilder
sourcepub fn rule(self, input: Rule) -> Self
pub fn rule(self, input: Rule) -> Self
Information about the Rule that you specified in the GetRule request. For more information, see the following topics:
-
Rule: ContainsMetricName,Name, an array ofPredicateobjects, andRuleId -
Predicate: EachPredicateobject containsDataId,Negated, andType
sourcepub fn set_rule(self, input: Option<Rule>) -> Self
pub fn set_rule(self, input: Option<Rule>) -> Self
Information about the Rule that you specified in the GetRule request. For more information, see the following topics:
-
Rule: ContainsMetricName,Name, an array ofPredicateobjects, andRuleId -
Predicate: EachPredicateobject containsDataId,Negated, andType
sourcepub fn get_rule(&self) -> &Option<Rule>
pub fn get_rule(&self) -> &Option<Rule>
Information about the Rule that you specified in the GetRule request. For more information, see the following topics:
-
Rule: ContainsMetricName,Name, an array ofPredicateobjects, andRuleId -
Predicate: EachPredicateobject containsDataId,Negated, andType
sourcepub fn build(self) -> GetRuleOutput
pub fn build(self) -> GetRuleOutput
Consumes the builder and constructs a GetRuleOutput.
Trait Implementations§
source§impl Clone for GetRuleOutputBuilder
impl Clone for GetRuleOutputBuilder
source§fn clone(&self) -> GetRuleOutputBuilder
fn clone(&self) -> GetRuleOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetRuleOutputBuilder
impl Debug for GetRuleOutputBuilder
source§impl Default for GetRuleOutputBuilder
impl Default for GetRuleOutputBuilder
source§fn default() -> GetRuleOutputBuilder
fn default() -> GetRuleOutputBuilder
source§impl PartialEq<GetRuleOutputBuilder> for GetRuleOutputBuilder
impl PartialEq<GetRuleOutputBuilder> for GetRuleOutputBuilder
source§fn eq(&self, other: &GetRuleOutputBuilder) -> bool
fn eq(&self, other: &GetRuleOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.