#[non_exhaustive]pub struct RuleBasedMatchingRequestBuilder { /* private fields */ }
Expand description
A builder for RuleBasedMatchingRequest
.
Implementations§
source§impl RuleBasedMatchingRequestBuilder
impl RuleBasedMatchingRequestBuilder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
The flag that enables the rule-based matching process of duplicate profiles.
This field is required.sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
The flag that enables the rule-based matching process of duplicate profiles.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
The flag that enables the rule-based matching process of duplicate profiles.
sourcepub fn matching_rules(self, input: MatchingRule) -> Self
pub fn matching_rules(self, input: MatchingRule) -> Self
Appends an item to matching_rules
.
To override the contents of this collection use set_matching_rules
.
Configures how the rule-based matching process should match profiles. You can have up to 15 MatchingRule
in the MatchingRules
.
sourcepub fn set_matching_rules(self, input: Option<Vec<MatchingRule>>) -> Self
pub fn set_matching_rules(self, input: Option<Vec<MatchingRule>>) -> Self
Configures how the rule-based matching process should match profiles. You can have up to 15 MatchingRule
in the MatchingRules
.
sourcepub fn get_matching_rules(&self) -> &Option<Vec<MatchingRule>>
pub fn get_matching_rules(&self) -> &Option<Vec<MatchingRule>>
Configures how the rule-based matching process should match profiles. You can have up to 15 MatchingRule
in the MatchingRules
.
sourcepub fn max_allowed_rule_level_for_merging(self, input: i32) -> Self
pub fn max_allowed_rule_level_for_merging(self, input: i32) -> Self
sourcepub fn set_max_allowed_rule_level_for_merging(self, input: Option<i32>) -> Self
pub fn set_max_allowed_rule_level_for_merging(self, input: Option<i32>) -> Self
sourcepub fn get_max_allowed_rule_level_for_merging(&self) -> &Option<i32>
pub fn get_max_allowed_rule_level_for_merging(&self) -> &Option<i32>
sourcepub fn max_allowed_rule_level_for_matching(self, input: i32) -> Self
pub fn max_allowed_rule_level_for_matching(self, input: i32) -> Self
Indicates the maximum allowed rule level.
sourcepub fn set_max_allowed_rule_level_for_matching(self, input: Option<i32>) -> Self
pub fn set_max_allowed_rule_level_for_matching(self, input: Option<i32>) -> Self
Indicates the maximum allowed rule level.
sourcepub fn get_max_allowed_rule_level_for_matching(&self) -> &Option<i32>
pub fn get_max_allowed_rule_level_for_matching(&self) -> &Option<i32>
Indicates the maximum allowed rule level.
sourcepub fn attribute_types_selector(self, input: AttributeTypesSelector) -> Self
pub fn attribute_types_selector(self, input: AttributeTypesSelector) -> Self
Configures information about the AttributeTypesSelector
where the rule-based identity resolution uses to match profiles.
sourcepub fn set_attribute_types_selector(
self,
input: Option<AttributeTypesSelector>
) -> Self
pub fn set_attribute_types_selector( self, input: Option<AttributeTypesSelector> ) -> Self
Configures information about the AttributeTypesSelector
where the rule-based identity resolution uses to match profiles.
sourcepub fn get_attribute_types_selector(&self) -> &Option<AttributeTypesSelector>
pub fn get_attribute_types_selector(&self) -> &Option<AttributeTypesSelector>
Configures information about the AttributeTypesSelector
where the rule-based identity resolution uses to match profiles.
sourcepub fn conflict_resolution(self, input: ConflictResolution) -> Self
pub fn conflict_resolution(self, input: ConflictResolution) -> Self
How the auto-merging process should resolve conflicts between different profiles.
sourcepub fn set_conflict_resolution(self, input: Option<ConflictResolution>) -> Self
pub fn set_conflict_resolution(self, input: Option<ConflictResolution>) -> Self
How the auto-merging process should resolve conflicts between different profiles.
sourcepub fn get_conflict_resolution(&self) -> &Option<ConflictResolution>
pub fn get_conflict_resolution(&self) -> &Option<ConflictResolution>
How the auto-merging process should resolve conflicts between different profiles.
sourcepub fn exporting_config(self, input: ExportingConfig) -> Self
pub fn exporting_config(self, input: ExportingConfig) -> Self
Configuration information about the S3 bucket where Identity Resolution Jobs writes result files.
You need to give Customer Profiles service principal write permission to your S3 bucket. Otherwise, you'll get an exception in the API response. For an example policy, see Amazon Connect Customer Profiles cross-service confused deputy prevention.
sourcepub fn set_exporting_config(self, input: Option<ExportingConfig>) -> Self
pub fn set_exporting_config(self, input: Option<ExportingConfig>) -> Self
Configuration information about the S3 bucket where Identity Resolution Jobs writes result files.
You need to give Customer Profiles service principal write permission to your S3 bucket. Otherwise, you'll get an exception in the API response. For an example policy, see Amazon Connect Customer Profiles cross-service confused deputy prevention.
sourcepub fn get_exporting_config(&self) -> &Option<ExportingConfig>
pub fn get_exporting_config(&self) -> &Option<ExportingConfig>
Configuration information about the S3 bucket where Identity Resolution Jobs writes result files.
You need to give Customer Profiles service principal write permission to your S3 bucket. Otherwise, you'll get an exception in the API response. For an example policy, see Amazon Connect Customer Profiles cross-service confused deputy prevention.
sourcepub fn build(self) -> Result<RuleBasedMatchingRequest, BuildError>
pub fn build(self) -> Result<RuleBasedMatchingRequest, BuildError>
Consumes the builder and constructs a RuleBasedMatchingRequest
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for RuleBasedMatchingRequestBuilder
impl Clone for RuleBasedMatchingRequestBuilder
source§fn clone(&self) -> RuleBasedMatchingRequestBuilder
fn clone(&self) -> RuleBasedMatchingRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RuleBasedMatchingRequestBuilder
impl Default for RuleBasedMatchingRequestBuilder
source§fn default() -> RuleBasedMatchingRequestBuilder
fn default() -> RuleBasedMatchingRequestBuilder
source§impl PartialEq for RuleBasedMatchingRequestBuilder
impl PartialEq for RuleBasedMatchingRequestBuilder
source§fn eq(&self, other: &RuleBasedMatchingRequestBuilder) -> bool
fn eq(&self, other: &RuleBasedMatchingRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleBasedMatchingRequestBuilder
Auto Trait Implementations§
impl Freeze for RuleBasedMatchingRequestBuilder
impl RefUnwindSafe for RuleBasedMatchingRequestBuilder
impl Send for RuleBasedMatchingRequestBuilder
impl Sync for RuleBasedMatchingRequestBuilder
impl Unpin for RuleBasedMatchingRequestBuilder
impl UnwindSafe for RuleBasedMatchingRequestBuilder
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