Class EnrollmentConfig
- java.lang.Object
-
- software.amazon.awssdk.services.voiceid.model.EnrollmentConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnrollmentConfig.Builder,EnrollmentConfig>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnrollmentConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnrollmentConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ExistingEnrollmentActionexistingEnrollmentAction()The action to take when the specified speaker is already enrolled in the specified domain.StringexistingEnrollmentActionAsString()The action to take when the specified speaker is already enrolled in the specified domain.EnrollmentJobFraudDetectionConfigfraudDetectionConfig()The fraud detection configuration to use for the speaker enrollment job.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EnrollmentConfig.Builder>serializableBuilderClass()EnrollmentConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
existingEnrollmentAction
public 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 toOVERWRITEreplaces 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,
existingEnrollmentActionwill returnExistingEnrollmentAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexistingEnrollmentActionAsString().- Returns:
- 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 toOVERWRITEreplaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio. - See Also:
ExistingEnrollmentAction
-
existingEnrollmentActionAsString
public 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 toOVERWRITEreplaces 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,
existingEnrollmentActionwill returnExistingEnrollmentAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromexistingEnrollmentActionAsString().- Returns:
- 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 toOVERWRITEreplaces the existing voice prints and enrollment audio stored for that speaker with new data generated from the latest audio. - See Also:
ExistingEnrollmentAction
-
fraudDetectionConfig
public final EnrollmentJobFraudDetectionConfig fraudDetectionConfig()
The fraud detection configuration to use for the speaker enrollment job.
- Returns:
- The fraud detection configuration to use for the speaker enrollment job.
-
toBuilder
public EnrollmentConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnrollmentConfig.Builder,EnrollmentConfig>
-
builder
public static EnrollmentConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnrollmentConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-