Interface EnrollmentConfig.Builder

    • Method Detail

      • existingEnrollmentAction

        EnrollmentConfig.Builder existingEnrollmentAction​(String existingEnrollmentAction)

        The action to take when the specified speaker is already enrolled in the specified domain. The default value is SKIP, which skips the enrollment for the existing speaker. Setting the value to OVERWRITE replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.

        Parameters:
        existingEnrollmentAction - The action to take when the specified speaker is already enrolled in the specified domain. The default value is SKIP, which skips the enrollment for the existing speaker. Setting the value to OVERWRITE replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExistingEnrollmentAction, ExistingEnrollmentAction
      • existingEnrollmentAction

        EnrollmentConfig.Builder existingEnrollmentAction​(ExistingEnrollmentAction existingEnrollmentAction)

        The action to take when the specified speaker is already enrolled in the specified domain. The default value is SKIP, which skips the enrollment for the existing speaker. Setting the value to OVERWRITE replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.

        Parameters:
        existingEnrollmentAction - The action to take when the specified speaker is already enrolled in the specified domain. The default value is SKIP, which skips the enrollment for the existing speaker. Setting the value to OVERWRITE replaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExistingEnrollmentAction, ExistingEnrollmentAction
      • fraudDetectionConfig

        EnrollmentConfig.Builder fraudDetectionConfig​(EnrollmentJobFraudDetectionConfig fraudDetectionConfig)

        The fraud detection configuration to use for the speaker enrollment job.

        Parameters:
        fraudDetectionConfig - The fraud detection configuration to use for the speaker enrollment job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.