Struct aws_sdk_frauddetector::types::builders::RuleResultBuilder
source · #[non_exhaustive]pub struct RuleResultBuilder { /* private fields */ }
Expand description
A builder for RuleResult
.
Implementations§
source§impl RuleResultBuilder
impl RuleResultBuilder
sourcepub fn rule_id(self, input: impl Into<String>) -> Self
pub fn rule_id(self, input: impl Into<String>) -> Self
The rule ID that was matched, based on the rule execution mode.
sourcepub fn set_rule_id(self, input: Option<String>) -> Self
pub fn set_rule_id(self, input: Option<String>) -> Self
The rule ID that was matched, based on the rule execution mode.
sourcepub fn get_rule_id(&self) -> &Option<String>
pub fn get_rule_id(&self) -> &Option<String>
The rule ID that was matched, based on the rule execution mode.
sourcepub fn outcomes(self, input: impl Into<String>) -> Self
pub fn outcomes(self, input: impl Into<String>) -> Self
Appends an item to outcomes
.
To override the contents of this collection use set_outcomes
.
The outcomes of the matched rule, based on the rule execution mode.
sourcepub fn set_outcomes(self, input: Option<Vec<String>>) -> Self
pub fn set_outcomes(self, input: Option<Vec<String>>) -> Self
The outcomes of the matched rule, based on the rule execution mode.
sourcepub fn get_outcomes(&self) -> &Option<Vec<String>>
pub fn get_outcomes(&self) -> &Option<Vec<String>>
The outcomes of the matched rule, based on the rule execution mode.
sourcepub fn build(self) -> RuleResult
pub fn build(self) -> RuleResult
Consumes the builder and constructs a RuleResult
.
Trait Implementations§
source§impl Clone for RuleResultBuilder
impl Clone for RuleResultBuilder
source§fn clone(&self) -> RuleResultBuilder
fn clone(&self) -> RuleResultBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuleResultBuilder
impl Debug for RuleResultBuilder
source§impl Default for RuleResultBuilder
impl Default for RuleResultBuilder
source§fn default() -> RuleResultBuilder
fn default() -> RuleResultBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RuleResultBuilder
impl PartialEq for RuleResultBuilder
source§fn eq(&self, other: &RuleResultBuilder) -> bool
fn eq(&self, other: &RuleResultBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleResultBuilder
Auto Trait Implementations§
impl Freeze for RuleResultBuilder
impl RefUnwindSafe for RuleResultBuilder
impl Send for RuleResultBuilder
impl Sync for RuleResultBuilder
impl Unpin for RuleResultBuilder
impl UnwindSafe for RuleResultBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.