@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnrollmentJobFraudDetectionConfig extends Object implements Serializable, Cloneable, StructuredPojo
The fraud detection configuration to be used during the batch speaker enrollment job.
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.
|
List<String> |
getWatchlistIds()
The identifier of watchlists against which fraud detection is performed.
|
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.
|
void |
setWatchlistIds(Collection<String> watchlistIds)
The identifier of watchlists against which fraud detection is performed.
|
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.
|
EnrollmentJobFraudDetectionConfig |
withWatchlistIds(Collection<String> watchlistIds)
The identifier of watchlists against which fraud detection is performed.
|
EnrollmentJobFraudDetectionConfig |
withWatchlistIds(String... watchlistIds)
The identifier of watchlists against which fraud detection is performed.
|
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 List<String> getWatchlistIds()
The identifier of watchlists against which fraud detection is performed.
public void setWatchlistIds(Collection<String> watchlistIds)
The identifier of watchlists against which fraud detection is performed.
watchlistIds
- The identifier of watchlists against which fraud detection is performed.public EnrollmentJobFraudDetectionConfig withWatchlistIds(String... watchlistIds)
The identifier of watchlists against which fraud detection is performed.
NOTE: This method appends the values to the existing list (if any). Use
setWatchlistIds(java.util.Collection)
or withWatchlistIds(java.util.Collection)
if you want to
override the existing values.
watchlistIds
- The identifier of watchlists against which fraud detection is performed.public EnrollmentJobFraudDetectionConfig withWatchlistIds(Collection<String> watchlistIds)
The identifier of watchlists against which fraud detection is performed.
watchlistIds
- The identifier of watchlists against which fraud detection is performed.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.