Interface AutoMerging.Builder

  • Method Details

    • enabled

      AutoMerging.Builder enabled(Boolean 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

      AutoMerging.Builder consolidation(Consolidation 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

      default AutoMerging.Builder consolidation(Consumer<Consolidation.Builder> 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 the Consolidation.Builder avoiding the need to create one manually via Consolidation.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to consolidation(Consolidation).

      Parameters:
      consolidation - a consumer that will call methods on Consolidation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • conflictResolution

      AutoMerging.Builder conflictResolution(ConflictResolution conflictResolution)

      How the auto-merging process should resolve conflicts between different profiles. For example, if Profile A and Profile B have the same FirstName and LastName (and that is the matching criteria), which EmailAddress 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 same FirstName and LastName (and that is the matching criteria), which EmailAddress 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 FirstName and LastName (and that is the matching criteria), which EmailAddress should be used?

      This is a convenience method that creates an instance of the ConflictResolution.Builder avoiding the need to create one manually via ConflictResolution.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to conflictResolution(ConflictResolution).

      Parameters:
      conflictResolution - a consumer that will call methods on ConflictResolution.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • minAllowedConfidenceScoreForMerging

      AutoMerging.Builder 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. 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.