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