Class CfnDomain.AutoMergingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnDomain.AutoMergingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.AutoMergingProperty>
- Enclosing interface:
CfnDomain.AutoMergingProperty
@Stability(Stable)
public static final class CfnDomain.AutoMergingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.AutoMergingProperty>
A builder for
CfnDomain.AutoMergingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conflictResolution(IResolvable conflictResolution) Sets the value ofCfnDomain.AutoMergingProperty.getConflictResolution()conflictResolution(CfnDomain.ConflictResolutionProperty conflictResolution) Sets the value ofCfnDomain.AutoMergingProperty.getConflictResolution()consolidation(IResolvable consolidation) Sets the value ofCfnDomain.AutoMergingProperty.getConsolidation()consolidation(CfnDomain.ConsolidationProperty consolidation) Sets the value ofCfnDomain.AutoMergingProperty.getConsolidation()Sets the value ofCfnDomain.AutoMergingProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomain.AutoMergingProperty.getEnabled()minAllowedConfidenceScoreForMerging(Number minAllowedConfidenceScoreForMerging) Sets the value ofCfnDomain.AutoMergingProperty.getMinAllowedConfidenceScoreForMerging()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnDomain.AutoMergingProperty.getEnabled()- Parameters:
enabled- The flag that enables the auto-merging of duplicate profiles. This parameter is required.- Returns:
this
-
enabled
Sets the value ofCfnDomain.AutoMergingProperty.getEnabled()- Parameters:
enabled- The flag that enables the auto-merging of duplicate profiles. This parameter is required.- Returns:
this
-
conflictResolution
@Stability(Stable) public CfnDomain.AutoMergingProperty.Builder conflictResolution(IResolvable conflictResolution) Sets the value ofCfnDomain.AutoMergingProperty.getConflictResolution()- Parameters:
conflictResolution- Determines how the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the sameFirstNameandLastName,ConflictResolutionspecifies whichEmailAddressshould be used.- Returns:
this
-
conflictResolution
@Stability(Stable) public CfnDomain.AutoMergingProperty.Builder conflictResolution(CfnDomain.ConflictResolutionProperty conflictResolution) Sets the value ofCfnDomain.AutoMergingProperty.getConflictResolution()- Parameters:
conflictResolution- Determines how the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the sameFirstNameandLastName,ConflictResolutionspecifies whichEmailAddressshould be used.- Returns:
this
-
consolidation
@Stability(Stable) public CfnDomain.AutoMergingProperty.Builder consolidation(IResolvable consolidation) Sets the value ofCfnDomain.AutoMergingProperty.getConsolidation()- Parameters:
consolidation- A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.- Returns:
this
-
consolidation
@Stability(Stable) public CfnDomain.AutoMergingProperty.Builder consolidation(CfnDomain.ConsolidationProperty consolidation) Sets the value ofCfnDomain.AutoMergingProperty.getConsolidation()- Parameters:
consolidation- A list of matching attributes that represent matching criteria. If two profiles meet at least one of the requirements in the matching attributes list, they will be merged.- Returns:
this
-
minAllowedConfidenceScoreForMerging
@Stability(Stable) public CfnDomain.AutoMergingProperty.Builder minAllowedConfidenceScoreForMerging(Number minAllowedConfidenceScoreForMerging) Sets the value ofCfnDomain.AutoMergingProperty.getMinAllowedConfidenceScoreForMerging()- Parameters:
minAllowedConfidenceScoreForMerging- A number between 0 and 1 that represents the minimum confidence score required for profiles within a matching group to be merged during the auto-merge process. A higher score means that a higher similarity is required to merge profiles.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.AutoMergingProperty>- Returns:
- a new instance of
CfnDomain.AutoMergingProperty - Throws:
NullPointerException- if any required attribute was not provided
-