Struct aws_sdk_customerprofiles::types::builders::MatchItemBuilder
source · #[non_exhaustive]pub struct MatchItemBuilder { /* private fields */ }
Expand description
A builder for MatchItem
.
Implementations§
source§impl MatchItemBuilder
impl MatchItemBuilder
sourcepub fn match_id(self, input: impl Into<String>) -> Self
pub fn match_id(self, input: impl Into<String>) -> Self
The unique identifiers for this group of profiles that match.
sourcepub fn set_match_id(self, input: Option<String>) -> Self
pub fn set_match_id(self, input: Option<String>) -> Self
The unique identifiers for this group of profiles that match.
sourcepub fn get_match_id(&self) -> &Option<String>
pub fn get_match_id(&self) -> &Option<String>
The unique identifiers for this group of profiles that match.
sourcepub fn profile_ids(self, input: impl Into<String>) -> Self
pub fn profile_ids(self, input: impl Into<String>) -> Self
Appends an item to profile_ids
.
To override the contents of this collection use set_profile_ids
.
A list of identifiers for profiles that match.
sourcepub fn set_profile_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_profile_ids(self, input: Option<Vec<String>>) -> Self
A list of identifiers for profiles that match.
sourcepub fn get_profile_ids(&self) -> &Option<Vec<String>>
pub fn get_profile_ids(&self) -> &Option<Vec<String>>
A list of identifiers for profiles that match.
sourcepub fn confidence_score(self, input: f64) -> Self
pub fn confidence_score(self, input: f64) -> Self
A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
sourcepub fn set_confidence_score(self, input: Option<f64>) -> Self
pub fn set_confidence_score(self, input: Option<f64>) -> Self
A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
sourcepub fn get_confidence_score(&self) -> &Option<f64>
pub fn get_confidence_score(&self) -> &Option<f64>
A number between 0 and 1, where a higher score means higher similarity. Examining match confidence scores lets you distinguish between groups of similar records in which the system is highly confident (which you may decide to merge), groups of similar records about which the system is uncertain (which you may decide to have reviewed by a human), and groups of similar records that the system deems to be unlikely (which you may decide to reject). Given confidence scores vary as per the data input, it should not be used an absolute measure of matching quality.
Trait Implementations§
source§impl Clone for MatchItemBuilder
impl Clone for MatchItemBuilder
source§fn clone(&self) -> MatchItemBuilder
fn clone(&self) -> MatchItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MatchItemBuilder
impl Debug for MatchItemBuilder
source§impl Default for MatchItemBuilder
impl Default for MatchItemBuilder
source§fn default() -> MatchItemBuilder
fn default() -> MatchItemBuilder
source§impl PartialEq for MatchItemBuilder
impl PartialEq for MatchItemBuilder
source§fn eq(&self, other: &MatchItemBuilder) -> bool
fn eq(&self, other: &MatchItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MatchItemBuilder
Auto Trait Implementations§
impl Freeze for MatchItemBuilder
impl RefUnwindSafe for MatchItemBuilder
impl Send for MatchItemBuilder
impl Sync for MatchItemBuilder
impl Unpin for MatchItemBuilder
impl UnwindSafe for MatchItemBuilder
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