Class VoiceIdStartSessionAction.FraudDetectionConfiguration.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdStartSessionAction.FraudDetectionConfiguration.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdStartSessionAction.FraudDetectionConfiguration>
- Enclosing interface:
VoiceIdStartSessionAction.FraudDetectionConfiguration
@Stability(Experimental)
public static final class VoiceIdStartSessionAction.FraudDetectionConfiguration.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdStartSessionAction.FraudDetectionConfiguration>
A builder for
VoiceIdStartSessionAction.FraudDetectionConfiguration-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.riskThreshold(List<String> riskThreshold) Sets the value ofVoiceIdStartSessionAction.FraudDetectionConfiguration.getRiskThreshold()watchlistId(List<String> watchlistId) Sets the value ofVoiceIdStartSessionAction.FraudDetectionConfiguration.getWatchlistId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
riskThreshold
@Stability(Experimental) public VoiceIdStartSessionAction.FraudDetectionConfiguration.Builder riskThreshold(List<String> riskThreshold) Sets the value ofVoiceIdStartSessionAction.FraudDetectionConfiguration.getRiskThreshold()- Parameters:
riskThreshold- riskThreshold property. Specify an array of string values to match this event if the actual value of riskThreshold is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
watchlistId
@Stability(Experimental) public VoiceIdStartSessionAction.FraudDetectionConfiguration.Builder watchlistId(List<String> watchlistId) Sets the value ofVoiceIdStartSessionAction.FraudDetectionConfiguration.getWatchlistId()- Parameters:
watchlistId- watchlistId property. Specify an array of string values to match this event if the actual value of watchlistId 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<VoiceIdStartSessionAction.FraudDetectionConfiguration>- Returns:
- a new instance of
VoiceIdStartSessionAction.FraudDetectionConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-