Struct aws_sdk_frauddetector::types::builders::RuleBuilder
source · #[non_exhaustive]pub struct RuleBuilder { /* private fields */ }
Expand description
A builder for Rule
.
Implementations§
source§impl RuleBuilder
impl RuleBuilder
sourcepub fn detector_id(self, input: impl Into<String>) -> Self
pub fn detector_id(self, input: impl Into<String>) -> Self
The detector for which the rule is associated.
This field is required.sourcepub fn set_detector_id(self, input: Option<String>) -> Self
pub fn set_detector_id(self, input: Option<String>) -> Self
The detector for which the rule is associated.
sourcepub fn get_detector_id(&self) -> &Option<String>
pub fn get_detector_id(&self) -> &Option<String>
The detector for which the rule is associated.
sourcepub fn set_rule_id(self, input: Option<String>) -> Self
pub fn set_rule_id(self, input: Option<String>) -> Self
The rule ID.
sourcepub fn get_rule_id(&self) -> &Option<String>
pub fn get_rule_id(&self) -> &Option<String>
The rule ID.
sourcepub fn rule_version(self, input: impl Into<String>) -> Self
pub fn rule_version(self, input: impl Into<String>) -> Self
The rule version.
This field is required.sourcepub fn set_rule_version(self, input: Option<String>) -> Self
pub fn set_rule_version(self, input: Option<String>) -> Self
The rule version.
sourcepub fn get_rule_version(&self) -> &Option<String>
pub fn get_rule_version(&self) -> &Option<String>
The rule version.
Trait Implementations§
source§impl Clone for RuleBuilder
impl Clone for RuleBuilder
source§fn clone(&self) -> RuleBuilder
fn clone(&self) -> RuleBuilder
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 RuleBuilder
impl Debug for RuleBuilder
source§impl Default for RuleBuilder
impl Default for RuleBuilder
source§fn default() -> RuleBuilder
fn default() -> RuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RuleBuilder
impl PartialEq for RuleBuilder
source§fn eq(&self, other: &RuleBuilder) -> bool
fn eq(&self, other: &RuleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleBuilder
Auto Trait Implementations§
impl Freeze for RuleBuilder
impl RefUnwindSafe for RuleBuilder
impl Send for RuleBuilder
impl Sync for RuleBuilder
impl Unpin for RuleBuilder
impl UnwindSafe for RuleBuilder
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.