public static interface EnrollmentConfig.Builder extends SdkPojo, CopyableBuilder<EnrollmentConfig.Builder,EnrollmentConfig>
| Modifier and Type | Method and Description |
|---|---|
EnrollmentConfig.Builder |
existingEnrollmentAction(ExistingEnrollmentAction existingEnrollmentAction)
The action to take when the specified speaker is already enrolled in the specified domain.
|
EnrollmentConfig.Builder |
existingEnrollmentAction(String existingEnrollmentAction)
The action to take when the specified speaker is already enrolled in the specified domain.
|
default EnrollmentConfig.Builder |
fraudDetectionConfig(Consumer<EnrollmentJobFraudDetectionConfig.Builder> fraudDetectionConfig)
The fraud detection configuration to use for the speaker enrollment job.
|
EnrollmentConfig.Builder |
fraudDetectionConfig(EnrollmentJobFraudDetectionConfig fraudDetectionConfig)
The fraud detection configuration to use for the speaker enrollment job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEnrollmentConfig.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.
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.ExistingEnrollmentAction,
ExistingEnrollmentActionEnrollmentConfig.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.
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.ExistingEnrollmentAction,
ExistingEnrollmentActionEnrollmentConfig.Builder fraudDetectionConfig(EnrollmentJobFraudDetectionConfig fraudDetectionConfig)
The fraud detection configuration to use for the speaker enrollment job.
fraudDetectionConfig - The fraud detection configuration to use for the speaker enrollment job.default EnrollmentConfig.Builder fraudDetectionConfig(Consumer<EnrollmentJobFraudDetectionConfig.Builder> fraudDetectionConfig)
The fraud detection configuration to use for the speaker enrollment job.
This is a convenience method that creates an instance of theEnrollmentJobFraudDetectionConfig.Builder avoiding the need to create one manually via
EnrollmentJobFraudDetectionConfig.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to fraudDetectionConfig(EnrollmentJobFraudDetectionConfig).
fraudDetectionConfig - a consumer that will call methods on EnrollmentJobFraudDetectionConfig.BuilderfraudDetectionConfig(EnrollmentJobFraudDetectionConfig)Copyright © 2023. All rights reserved.