@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnrollmentJobFraudDetectionConfig extends Object implements Serializable, Cloneable, StructuredPojo
The configuration defining the action to take when a speaker is flagged by the fraud detection system during a batch speaker enrollment job, and the risk threshold to use for identification.
Constructor and Description |
---|
EnrollmentJobFraudDetectionConfig() |
Modifier and Type | Method and Description |
---|---|
EnrollmentJobFraudDetectionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getFraudDetectionAction()
The action to take when the given speaker is flagged by the fraud detection system.
|
Integer |
getRiskThreshold()
Threshold value for determining whether the speaker is a high risk to be fraudulent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFraudDetectionAction(String fraudDetectionAction)
The action to take when the given speaker is flagged by the fraud detection system.
|
void |
setRiskThreshold(Integer riskThreshold)
Threshold value for determining whether the speaker is a high risk to be fraudulent.
|
String |
toString()
Returns a string representation of this object.
|
EnrollmentJobFraudDetectionConfig |
withFraudDetectionAction(FraudDetectionAction fraudDetectionAction)
The action to take when the given speaker is flagged by the fraud detection system.
|
EnrollmentJobFraudDetectionConfig |
withFraudDetectionAction(String fraudDetectionAction)
The action to take when the given speaker is flagged by the fraud detection system.
|
EnrollmentJobFraudDetectionConfig |
withRiskThreshold(Integer riskThreshold)
Threshold value for determining whether the speaker is a high risk to be fraudulent.
|
public void setFraudDetectionAction(String fraudDetectionAction)
The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results in the
speaker being enrolled even if they are flagged by the fraud detection system.
fraudDetectionAction
- The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results
in the speaker being enrolled even if they are flagged by the fraud detection system.FraudDetectionAction
public String getFraudDetectionAction()
The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results in the
speaker being enrolled even if they are flagged by the fraud detection system.
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results
in the speaker being enrolled even if they are flagged by the fraud detection system.FraudDetectionAction
public EnrollmentJobFraudDetectionConfig withFraudDetectionAction(String fraudDetectionAction)
The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results in the
speaker being enrolled even if they are flagged by the fraud detection system.
fraudDetectionAction
- The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results
in the speaker being enrolled even if they are flagged by the fraud detection system.FraudDetectionAction
public EnrollmentJobFraudDetectionConfig withFraudDetectionAction(FraudDetectionAction fraudDetectionAction)
The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results in the
speaker being enrolled even if they are flagged by the fraud detection system.
fraudDetectionAction
- The action to take when the given speaker is flagged by the fraud detection system. The default value is
FAIL
, which fails the speaker enrollment. Changing this value to IGNORE
results
in the speaker being enrolled even if they are flagged by the fraud detection system.FraudDetectionAction
public void setRiskThreshold(Integer riskThreshold)
Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a fraudster.
riskThreshold
- Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk
score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a
fraudster.public Integer getRiskThreshold()
Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a fraudster.
public EnrollmentJobFraudDetectionConfig withRiskThreshold(Integer riskThreshold)
Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a fraudster.
riskThreshold
- Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk
score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a
fraudster.public String toString()
toString
in class Object
Object.toString()
public EnrollmentJobFraudDetectionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.