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