Struct aws_sdk_entityresolution::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 rule_name(self, input: impl Into<String>) -> Self
pub fn rule_name(self, input: impl Into<String>) -> Self
A name for the matching rule.
This field is required.sourcepub fn set_rule_name(self, input: Option<String>) -> Self
pub fn set_rule_name(self, input: Option<String>) -> Self
A name for the matching rule.
sourcepub fn get_rule_name(&self) -> &Option<String>
pub fn get_rule_name(&self) -> &Option<String>
A name for the matching rule.
sourcepub fn matching_keys(self, input: impl Into<String>) -> Self
pub fn matching_keys(self, input: impl Into<String>) -> Self
Appends an item to matching_keys
.
To override the contents of this collection use set_matching_keys
.
A list of MatchingKeys
. The MatchingKeys
must have been defined in the SchemaMapping
. Two records are considered to match according to this rule if all of the MatchingKeys
match.
sourcepub fn set_matching_keys(self, input: Option<Vec<String>>) -> Self
pub fn set_matching_keys(self, input: Option<Vec<String>>) -> Self
A list of MatchingKeys
. The MatchingKeys
must have been defined in the SchemaMapping
. Two records are considered to match according to this rule if all of the MatchingKeys
match.
sourcepub fn get_matching_keys(&self) -> &Option<Vec<String>>
pub fn get_matching_keys(&self) -> &Option<Vec<String>>
A list of MatchingKeys
. The MatchingKeys
must have been defined in the SchemaMapping
. Two records are considered to match according to this rule if all of the MatchingKeys
match.
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 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.