Struct aws_sdk_customerprofiles::operation::get_similar_profiles::builders::GetSimilarProfilesOutputBuilder
source · #[non_exhaustive]pub struct GetSimilarProfilesOutputBuilder { /* private fields */ }
Expand description
A builder for GetSimilarProfilesOutput
.
Implementations§
source§impl GetSimilarProfilesOutputBuilder
impl GetSimilarProfilesOutputBuilder
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
.
Set of profileId
s that belong to the same matching group.
sourcepub fn set_profile_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_profile_ids(self, input: Option<Vec<String>>) -> Self
Set of profileId
s that belong to the same matching group.
sourcepub fn get_profile_ids(&self) -> &Option<Vec<String>>
pub fn get_profile_ids(&self) -> &Option<Vec<String>>
Set of profileId
s that belong to the same matching group.
sourcepub fn match_id(self, input: impl Into<String>) -> Self
pub fn match_id(self, input: impl Into<String>) -> Self
The string matchId
that the similar profiles belong to.
sourcepub fn set_match_id(self, input: Option<String>) -> Self
pub fn set_match_id(self, input: Option<String>) -> Self
The string matchId
that the similar profiles belong to.
sourcepub fn get_match_id(&self) -> &Option<String>
pub fn get_match_id(&self) -> &Option<String>
The string matchId
that the similar profiles belong to.
sourcepub fn match_type(self, input: MatchType) -> Self
pub fn match_type(self, input: MatchType) -> Self
Specify the type of matching to get similar profiles for.
sourcepub fn set_match_type(self, input: Option<MatchType>) -> Self
pub fn set_match_type(self, input: Option<MatchType>) -> Self
Specify the type of matching to get similar profiles for.
sourcepub fn get_match_type(&self) -> &Option<MatchType>
pub fn get_match_type(&self) -> &Option<MatchType>
Specify the type of matching to get similar profiles for.
sourcepub fn rule_level(self, input: i32) -> Self
pub fn rule_level(self, input: i32) -> Self
The integer rule level that the profiles matched on.
sourcepub fn set_rule_level(self, input: Option<i32>) -> Self
pub fn set_rule_level(self, input: Option<i32>) -> Self
The integer rule level that the profiles matched on.
sourcepub fn get_rule_level(&self) -> &Option<i32>
pub fn get_rule_level(&self) -> &Option<i32>
The integer rule level that the profiles matched on.
sourcepub fn confidence_score(self, input: f64) -> Self
pub fn confidence_score(self, input: f64) -> Self
It only has value when the MatchType
is ML_BASED_MATCHING
.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 as 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
It only has value when the MatchType
is ML_BASED_MATCHING
.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 as an absolute measure of matching quality.
sourcepub fn get_confidence_score(&self) -> &Option<f64>
pub fn get_confidence_score(&self) -> &Option<f64>
It only has value when the MatchType
is ML_BASED_MATCHING
.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 as an absolute measure of matching quality.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token from the previous GetSimilarProfiles
API call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token from the previous GetSimilarProfiles
API call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token from the previous GetSimilarProfiles
API call.
sourcepub fn build(self) -> GetSimilarProfilesOutput
pub fn build(self) -> GetSimilarProfilesOutput
Consumes the builder and constructs a GetSimilarProfilesOutput
.
Trait Implementations§
source§impl Clone for GetSimilarProfilesOutputBuilder
impl Clone for GetSimilarProfilesOutputBuilder
source§fn clone(&self) -> GetSimilarProfilesOutputBuilder
fn clone(&self) -> GetSimilarProfilesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetSimilarProfilesOutputBuilder
impl Default for GetSimilarProfilesOutputBuilder
source§fn default() -> GetSimilarProfilesOutputBuilder
fn default() -> GetSimilarProfilesOutputBuilder
source§impl PartialEq for GetSimilarProfilesOutputBuilder
impl PartialEq for GetSimilarProfilesOutputBuilder
source§fn eq(&self, other: &GetSimilarProfilesOutputBuilder) -> bool
fn eq(&self, other: &GetSimilarProfilesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetSimilarProfilesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetSimilarProfilesOutputBuilder
impl RefUnwindSafe for GetSimilarProfilesOutputBuilder
impl Send for GetSimilarProfilesOutputBuilder
impl Sync for GetSimilarProfilesOutputBuilder
impl Unpin for GetSimilarProfilesOutputBuilder
impl UnwindSafe for GetSimilarProfilesOutputBuilder
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