@Generated(value="software.amazon.awssdk:codegen") public final class EnrollmentConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnrollmentConfig.Builder,EnrollmentConfig>
Contains configurations defining enrollment behavior for the batch job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnrollmentConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static EnrollmentConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExistingEnrollmentAction |
existingEnrollmentAction()
The action to take when the specified speaker is already enrolled in the specified domain.
|
String |
existingEnrollmentActionAsString()
The action to take when the specified speaker is already enrolled in the specified domain.
|
EnrollmentJobFraudDetectionConfig |
fraudDetectionConfig()
The fraud detection configuration to use for the speaker enrollment job.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnrollmentConfig.Builder> |
serializableBuilderClass() |
EnrollmentConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version,
existingEnrollmentAction will return ExistingEnrollmentAction.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from existingEnrollmentActionAsString().
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.ExistingEnrollmentActionpublic final String existingEnrollmentActionAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
existingEnrollmentAction will return ExistingEnrollmentAction.UNKNOWN_TO_SDK_VERSION. The raw
value returned by the service is available from existingEnrollmentActionAsString().
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.ExistingEnrollmentActionpublic final EnrollmentJobFraudDetectionConfig fraudDetectionConfig()
The fraud detection configuration to use for the speaker enrollment job.
public EnrollmentConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnrollmentConfig.Builder,EnrollmentConfig>public static EnrollmentConfig.Builder builder()
public static Class<? extends EnrollmentConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.