Class DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig>
- Enclosing interface:
DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig
@Stability(Experimental)
public static final class DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<DomainEvents.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 DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.Builder fraudDetectionAction(List<String> fraudDetectionAction) Sets the value ofDomainEvents.VoiceIdBatchSpeakerEnrollmentAction.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 DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.Builder fraudDetectionThreshold(List<String> fraudDetectionThreshold) Sets the value ofDomainEvents.VoiceIdBatchSpeakerEnrollmentAction.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 DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.Builder watchlistIds(List<String> watchlistIds) Sets the value ofDomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig.getWatchlistIds()- 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
@Stability(Experimental) public DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig>- Returns:
- a new instance of
DomainEvents.VoiceIdBatchSpeakerEnrollmentAction.FraudDetectionConfig - Throws:
NullPointerException- if any required attribute was not provided
-