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