@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FraudDetectionResult extends Object implements Serializable, Cloneable, StructuredPojo
The fraud detection result produced by Voice ID, processed against the current session state and streamed audio of the speaker.
Constructor and Description |
---|
FraudDetectionResult() |
Modifier and Type | Method and Description |
---|---|
FraudDetectionResult |
clone() |
boolean |
equals(Object obj) |
Date |
getAudioAggregationEndedAt()
A timestamp of when audio aggregation ended for this fraud detection result.
|
Date |
getAudioAggregationStartedAt()
A timestamp of when audio aggregation started for this fraud detection result.
|
FraudDetectionConfiguration |
getConfiguration()
The
FraudDetectionConfiguration used to generate this fraud detection result. |
String |
getDecision()
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
String |
getFraudDetectionResultId()
The unique identifier for this fraud detection result.
|
List<String> |
getReasons()
The reason speaker was flagged by the fraud detection system.
|
FraudRiskDetails |
getRiskDetails()
Details about each risk analyzed for this speaker.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this fraud detection result.
|
void |
setAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this fraud detection result.
|
void |
setConfiguration(FraudDetectionConfiguration configuration)
The
FraudDetectionConfiguration used to generate this fraud detection result. |
void |
setDecision(String decision)
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
void |
setFraudDetectionResultId(String fraudDetectionResultId)
The unique identifier for this fraud detection result.
|
void |
setReasons(Collection<String> reasons)
The reason speaker was flagged by the fraud detection system.
|
void |
setRiskDetails(FraudRiskDetails riskDetails)
Details about each risk analyzed for this speaker.
|
String |
toString()
Returns a string representation of this object.
|
FraudDetectionResult |
withAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this fraud detection result.
|
FraudDetectionResult |
withAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this fraud detection result.
|
FraudDetectionResult |
withConfiguration(FraudDetectionConfiguration configuration)
The
FraudDetectionConfiguration used to generate this fraud detection result. |
FraudDetectionResult |
withDecision(FraudDetectionDecision decision)
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
FraudDetectionResult |
withDecision(String decision)
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio
of the speaker.
|
FraudDetectionResult |
withFraudDetectionResultId(String fraudDetectionResultId)
The unique identifier for this fraud detection result.
|
FraudDetectionResult |
withReasons(Collection<String> reasons)
The reason speaker was flagged by the fraud detection system.
|
FraudDetectionResult |
withReasons(FraudDetectionReason... reasons)
The reason speaker was flagged by the fraud detection system.
|
FraudDetectionResult |
withReasons(String... reasons)
The reason speaker was flagged by the fraud detection system.
|
FraudDetectionResult |
withRiskDetails(FraudRiskDetails riskDetails)
Details about each risk analyzed for this speaker.
|
public void setAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this fraud detection result.
audioAggregationEndedAt
- A timestamp of when audio aggregation ended for this fraud detection result.public Date getAudioAggregationEndedAt()
A timestamp of when audio aggregation ended for this fraud detection result.
public FraudDetectionResult withAudioAggregationEndedAt(Date audioAggregationEndedAt)
A timestamp of when audio aggregation ended for this fraud detection result.
audioAggregationEndedAt
- A timestamp of when audio aggregation ended for this fraud detection result.public void setAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this fraud detection result.
audioAggregationStartedAt
- A timestamp of when audio aggregation started for this fraud detection result.public Date getAudioAggregationStartedAt()
A timestamp of when audio aggregation started for this fraud detection result.
public FraudDetectionResult withAudioAggregationStartedAt(Date audioAggregationStartedAt)
A timestamp of when audio aggregation started for this fraud detection result.
audioAggregationStartedAt
- A timestamp of when audio aggregation started for this fraud detection result.public void setConfiguration(FraudDetectionConfiguration configuration)
The FraudDetectionConfiguration
used to generate this fraud detection result.
configuration
- The FraudDetectionConfiguration
used to generate this fraud detection result.public FraudDetectionConfiguration getConfiguration()
The FraudDetectionConfiguration
used to generate this fraud detection result.
FraudDetectionConfiguration
used to generate this fraud detection result.public FraudDetectionResult withConfiguration(FraudDetectionConfiguration configuration)
The FraudDetectionConfiguration
used to generate this fraud detection result.
configuration
- The FraudDetectionConfiguration
used to generate this fraud detection result.public void setDecision(String decision)
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
decision
- The fraud detection decision produced by Voice ID, processed against the current session state and
streamed audio of the speaker.FraudDetectionDecision
public String getDecision()
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
FraudDetectionDecision
public FraudDetectionResult withDecision(String decision)
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
decision
- The fraud detection decision produced by Voice ID, processed against the current session state and
streamed audio of the speaker.FraudDetectionDecision
public FraudDetectionResult withDecision(FraudDetectionDecision decision)
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
decision
- The fraud detection decision produced by Voice ID, processed against the current session state and
streamed audio of the speaker.FraudDetectionDecision
public void setFraudDetectionResultId(String fraudDetectionResultId)
The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a given session, this field helps in identifying if the returned result is from previous streaming activity or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice ID always returns cached Fraud Detection result for this API.
fraudDetectionResultId
- The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a
given session, this field helps in identifying if the returned result is from previous streaming activity
or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice
ID always returns cached Fraud Detection result for this API.public String getFraudDetectionResultId()
The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a given session, this field helps in identifying if the returned result is from previous streaming activity or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice ID always returns cached Fraud Detection result for this API.
public FraudDetectionResult withFraudDetectionResultId(String fraudDetectionResultId)
The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a given session, this field helps in identifying if the returned result is from previous streaming activity or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice ID always returns cached Fraud Detection result for this API.
fraudDetectionResultId
- The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a
given session, this field helps in identifying if the returned result is from previous streaming activity
or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice
ID always returns cached Fraud Detection result for this API.public List<String> getReasons()
The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.
HIGH_RISK
, and the following possible values:
KNOWN_FRAUDSTER
and VOICE_SPOOFING
.FraudDetectionReason
public void setReasons(Collection<String> reasons)
The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.
reasons
- The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.FraudDetectionReason
public FraudDetectionResult withReasons(String... reasons)
The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection)
or withReasons(java.util.Collection)
if you want to override
the existing values.
reasons
- The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.FraudDetectionReason
public FraudDetectionResult withReasons(Collection<String> reasons)
The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.
reasons
- The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.FraudDetectionReason
public FraudDetectionResult withReasons(FraudDetectionReason... reasons)
The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.
reasons
- The reason speaker was flagged by the fraud detection system. This is only be populated if fraud detection
Decision is HIGH_RISK
, and the following possible values: KNOWN_FRAUDSTER
and
VOICE_SPOOFING
.FraudDetectionReason
public void setRiskDetails(FraudRiskDetails riskDetails)
Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and VoiceSpoofingRisk details.
riskDetails
- Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and
VoiceSpoofingRisk details.public FraudRiskDetails getRiskDetails()
Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and VoiceSpoofingRisk details.
public FraudDetectionResult withRiskDetails(FraudRiskDetails riskDetails)
Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and VoiceSpoofingRisk details.
riskDetails
- Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and
VoiceSpoofingRisk details.public String toString()
toString
in class Object
Object.toString()
public FraudDetectionResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.