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