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