Class VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.FraudDetectionResult>
- Enclosing interface:
VoiceIdEvaluateSessionAction.FraudDetectionResult
@Stability(Experimental)
public static final class VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.FraudDetectionResult>
A builder for
VoiceIdEvaluateSessionAction.FraudDetectionResult-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudioAggregationEndedAt(List<String> audioAggregationEndedAt) audioAggregationStartedAt(List<String> audioAggregationStartedAt) build()Builds the configured instance.configuration(VoiceIdEvaluateSessionAction.ConfigurationFraud configuration) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getConfiguration()Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getDecision()fraudDetectionResultId(List<String> fraudDetectionResultId) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getReasons()riskDetails(VoiceIdEvaluateSessionAction.RiskDetails riskDetails) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getRiskDetails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioAggregationEndedAt
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder audioAggregationEndedAt(List<String> audioAggregationEndedAt) - Parameters:
audioAggregationEndedAt- audioAggregationEndedAt property. Specify an array of string values to match this event if the actual value of audioAggregationEndedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
audioAggregationStartedAt
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder audioAggregationStartedAt(List<String> audioAggregationStartedAt) - Parameters:
audioAggregationStartedAt- audioAggregationStartedAt property. Specify an array of string values to match this event if the actual value of audioAggregationStartedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
configuration
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder configuration(VoiceIdEvaluateSessionAction.ConfigurationFraud configuration) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getConfiguration()- Parameters:
configuration- configuration property. Specify an array of string values to match this event if the actual value of configuration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
decision
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder decision(List<String> decision) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getDecision()- Parameters:
decision- decision property. Specify an array of string values to match this event if the actual value of decision is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
fraudDetectionResultId
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder fraudDetectionResultId(List<String> fraudDetectionResultId) - Parameters:
fraudDetectionResultId- fraudDetectionResultId property. Specify an array of string values to match this event if the actual value of fraudDetectionResultId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
reasons
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder reasons(List<String> reasons) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getReasons()- Parameters:
reasons- reasons property. Specify an array of string values to match this event if the actual value of reasons is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
riskDetails
@Stability(Experimental) public VoiceIdEvaluateSessionAction.FraudDetectionResult.Builder riskDetails(VoiceIdEvaluateSessionAction.RiskDetails riskDetails) Sets the value ofVoiceIdEvaluateSessionAction.FraudDetectionResult.getRiskDetails()- Parameters:
riskDetails- riskDetails property. Specify an array of string values to match this event if the actual value of riskDetails is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.FraudDetectionResult>- Returns:
- a new instance of
VoiceIdEvaluateSessionAction.FraudDetectionResult - Throws:
NullPointerException- if any required attribute was not provided
-