Interface AutoMerging.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AutoMerging.Builder,,AutoMerging> SdkBuilder<AutoMerging.Builder,,AutoMerging> SdkPojo
- Enclosing class:
AutoMerging
-
Method Summary
Modifier and TypeMethodDescriptiondefault AutoMerging.BuilderconflictResolution(Consumer<ConflictResolution.Builder> conflictResolution) How the auto-merging process should resolve conflicts between different profiles.conflictResolution(ConflictResolution conflictResolution) How the auto-merging process should resolve conflicts between different profiles.default AutoMerging.Builderconsolidation(Consumer<Consolidation.Builder> consolidation) A list of matching attributes that represent matching criteria.consolidation(Consolidation consolidation) A list of matching attributes that represent matching criteria.The flag that enables the auto-merging of duplicate profiles.minAllowedConfidenceScoreForMerging(Double 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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
enabled
The flag that enables the auto-merging of duplicate profiles.
- Parameters:
enabled- The flag that enables the auto-merging of duplicate profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theConsolidation.Builderavoiding the need to create one manually viaConsolidation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsolidation(Consolidation).- Parameters:
consolidation- a consumer that will call methods onConsolidation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
conflictResolution
How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same
FirstNameandLastName(and that is the matching criteria), whichEmailAddressshould be used?- Parameters:
conflictResolution- How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the sameFirstNameandLastName(and that is the matching criteria), whichEmailAddressshould be used?- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conflictResolution
default AutoMerging.Builder conflictResolution(Consumer<ConflictResolution.Builder> conflictResolution) How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same
This is a convenience method that creates an instance of theFirstNameandLastName(and that is the matching criteria), whichEmailAddressshould be used?ConflictResolution.Builderavoiding the need to create one manually viaConflictResolution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconflictResolution(ConflictResolution).- Parameters:
conflictResolution- a consumer that will call methods onConflictResolution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 higher similarity required to merge profiles.
- 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 higher similarity required to merge profiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-