Class VoiceIdEvaluateSessionAction.ConfigurationFraud.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdEvaluateSessionAction.ConfigurationFraud.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.ConfigurationFraud>
- Enclosing interface:
VoiceIdEvaluateSessionAction.ConfigurationFraud
@Stability(Experimental)
public static final class VoiceIdEvaluateSessionAction.ConfigurationFraud.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.ConfigurationFraud>
A builder for
VoiceIdEvaluateSessionAction.ConfigurationFraud-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.riskThreshold(List<String> riskThreshold) Sets the value ofVoiceIdEvaluateSessionAction.ConfigurationFraud.getRiskThreshold()watchlistId(List<String> watchlistId) Sets the value ofVoiceIdEvaluateSessionAction.ConfigurationFraud.getWatchlistId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
riskThreshold
@Stability(Experimental) public VoiceIdEvaluateSessionAction.ConfigurationFraud.Builder riskThreshold(List<String> riskThreshold) Sets the value ofVoiceIdEvaluateSessionAction.ConfigurationFraud.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 VoiceIdEvaluateSessionAction.ConfigurationFraud.Builder watchlistId(List<String> watchlistId) Sets the value ofVoiceIdEvaluateSessionAction.ConfigurationFraud.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<VoiceIdEvaluateSessionAction.ConfigurationFraud>- Returns:
- a new instance of
VoiceIdEvaluateSessionAction.ConfigurationFraud - Throws:
NullPointerException- if any required attribute was not provided
-