@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnrollmentConfig extends Object implements Serializable, Cloneable, StructuredPojo
Contains configurations defining enrollment behavior for the batch job.
| Constructor and Description |
|---|
EnrollmentConfig() |
| Modifier and Type | Method and Description |
|---|---|
EnrollmentConfig |
clone() |
boolean |
equals(Object obj) |
String |
getExistingEnrollmentAction()
The action to take when the specified speaker is already enrolled in the specified domain.
|
EnrollmentJobFraudDetectionConfig |
getFraudDetectionConfig()
The fraud detection configuration to use for the speaker enrollment job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setExistingEnrollmentAction(String existingEnrollmentAction)
The action to take when the specified speaker is already enrolled in the specified domain.
|
void |
setFraudDetectionConfig(EnrollmentJobFraudDetectionConfig fraudDetectionConfig)
The fraud detection configuration to use for the speaker enrollment job.
|
String |
toString()
Returns a string representation of this object.
|
EnrollmentConfig |
withExistingEnrollmentAction(ExistingEnrollmentAction existingEnrollmentAction)
The action to take when the specified speaker is already enrolled in the specified domain.
|
EnrollmentConfig |
withExistingEnrollmentAction(String existingEnrollmentAction)
The action to take when the specified speaker is already enrolled in the specified domain.
|
EnrollmentConfig |
withFraudDetectionConfig(EnrollmentJobFraudDetectionConfig fraudDetectionConfig)
The fraud detection configuration to use for the speaker enrollment job.
|
public void setExistingEnrollmentAction(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.ExistingEnrollmentActionpublic String getExistingEnrollmentAction()
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.
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 EnrollmentConfig withExistingEnrollmentAction(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.ExistingEnrollmentActionpublic EnrollmentConfig withExistingEnrollmentAction(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.ExistingEnrollmentActionpublic void setFraudDetectionConfig(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.public EnrollmentJobFraudDetectionConfig getFraudDetectionConfig()
The fraud detection configuration to use for the speaker enrollment job.
public EnrollmentConfig withFraudDetectionConfig(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.public String toString()
toString in class ObjectObject.toString()public EnrollmentConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.