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 for GetRuleOutputBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for GetRuleOutputBuilder
Auto Trait Implementations§
impl Freeze for GetRuleOutputBuilder
impl RefUnwindSafe for GetRuleOutputBuilder
impl Send for GetRuleOutputBuilder
impl Sync for GetRuleOutputBuilder
impl Unpin for GetRuleOutputBuilder
impl UnwindSafe for GetRuleOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more