Interface AutoMerging.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutoMerging.Builder,
,AutoMerging> SdkBuilder<AutoMerging.Builder,
,AutoMerging> SdkPojo
- Enclosing class:
AutoMerging
-
Method Summary
Modifier and TypeMethodDescriptiondefault AutoMerging.Builder
conflictResolution
(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.Builder
consolidation
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaConsolidation.builder()
.When the
Consumer
completes,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
FirstName
andLastName
(and that is the matching criteria), whichEmailAddress
should 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 sameFirstName
andLastName
(and that is the matching criteria), whichEmailAddress
should 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 theFirstName
andLastName
(and that is the matching criteria), whichEmailAddress
should be used?ConflictResolution.Builder
avoiding the need to create one manually viaConflictResolution.builder()
.When the
Consumer
completes,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.
-