Class VoiceIdStartSessionAction.Session.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdStartSessionAction.Session.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdStartSessionAction.Session>
- Enclosing interface:
VoiceIdStartSessionAction.Session
@Stability(Experimental)
public static final class VoiceIdStartSessionAction.Session.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdStartSessionAction.Session>
A builder for
VoiceIdStartSessionAction.Session-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationAudioProgress(VoiceIdStartSessionAction.AuthenticationAudioProgress authenticationAudioProgress) Sets the value ofVoiceIdStartSessionAction.Session.getAuthenticationAudioProgress()authenticationConfiguration(VoiceIdStartSessionAction.AuthenticationConfiguration authenticationConfiguration) Sets the value ofVoiceIdStartSessionAction.Session.getAuthenticationConfiguration()build()Builds the configured instance.enrollmentAudioProgress(VoiceIdStartSessionAction.EnrollmentAudioProgress enrollmentAudioProgress) Sets the value ofVoiceIdStartSessionAction.Session.getEnrollmentAudioProgress()fraudDetectionAudioProgress(VoiceIdStartSessionAction.AuthenticationAudioProgress fraudDetectionAudioProgress) Sets the value ofVoiceIdStartSessionAction.Session.getFraudDetectionAudioProgress()fraudDetectionConfiguration(VoiceIdStartSessionAction.FraudDetectionConfiguration fraudDetectionConfiguration) Sets the value ofVoiceIdStartSessionAction.Session.getFraudDetectionConfiguration()generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofVoiceIdStartSessionAction.Session.getGeneratedSpeakerId()Sets the value ofVoiceIdStartSessionAction.Session.getSessionId()sessionName(List<String> sessionName) Sets the value ofVoiceIdStartSessionAction.Session.getSessionName()streamingConfiguration(VoiceIdStartSessionAction.StreamingConfiguration streamingConfiguration) Sets the value ofVoiceIdStartSessionAction.Session.getStreamingConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationAudioProgress
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder authenticationAudioProgress(VoiceIdStartSessionAction.AuthenticationAudioProgress authenticationAudioProgress) Sets the value ofVoiceIdStartSessionAction.Session.getAuthenticationAudioProgress()- Parameters:
authenticationAudioProgress- authenticationAudioProgress property. Specify an array of string values to match this event if the actual value of authenticationAudioProgress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
authenticationConfiguration
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder authenticationConfiguration(VoiceIdStartSessionAction.AuthenticationConfiguration authenticationConfiguration) Sets the value ofVoiceIdStartSessionAction.Session.getAuthenticationConfiguration()- Parameters:
authenticationConfiguration- authenticationConfiguration property. Specify an array of string values to match this event if the actual value of authenticationConfiguration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
enrollmentAudioProgress
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder enrollmentAudioProgress(VoiceIdStartSessionAction.EnrollmentAudioProgress enrollmentAudioProgress) Sets the value ofVoiceIdStartSessionAction.Session.getEnrollmentAudioProgress()- Parameters:
enrollmentAudioProgress- enrollmentAudioProgress property. Specify an array of string values to match this event if the actual value of enrollmentAudioProgress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
fraudDetectionAudioProgress
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder fraudDetectionAudioProgress(VoiceIdStartSessionAction.AuthenticationAudioProgress fraudDetectionAudioProgress) Sets the value ofVoiceIdStartSessionAction.Session.getFraudDetectionAudioProgress()- Parameters:
fraudDetectionAudioProgress- fraudDetectionAudioProgress property. Specify an array of string values to match this event if the actual value of fraudDetectionAudioProgress is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
fraudDetectionConfiguration
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder fraudDetectionConfiguration(VoiceIdStartSessionAction.FraudDetectionConfiguration fraudDetectionConfiguration) Sets the value ofVoiceIdStartSessionAction.Session.getFraudDetectionConfiguration()- Parameters:
fraudDetectionConfiguration- fraudDetectionConfiguration property. Specify an array of string values to match this event if the actual value of fraudDetectionConfiguration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
generatedSpeakerId
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofVoiceIdStartSessionAction.Session.getGeneratedSpeakerId()- Parameters:
generatedSpeakerId- generatedSpeakerId property. Specify an array of string values to match this event if the actual value of generatedSpeakerId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sessionId
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder sessionId(List<String> sessionId) Sets the value ofVoiceIdStartSessionAction.Session.getSessionId()- Parameters:
sessionId- sessionId property. Specify an array of string values to match this event if the actual value of sessionId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sessionName
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder sessionName(List<String> sessionName) Sets the value ofVoiceIdStartSessionAction.Session.getSessionName()- Parameters:
sessionName- sessionName property. Specify an array of string values to match this event if the actual value of sessionName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
streamingConfiguration
@Stability(Experimental) public VoiceIdStartSessionAction.Session.Builder streamingConfiguration(VoiceIdStartSessionAction.StreamingConfiguration streamingConfiguration) Sets the value ofVoiceIdStartSessionAction.Session.getStreamingConfiguration()- Parameters:
streamingConfiguration- streamingConfiguration property. Specify an array of string values to match this event if the actual value of streamingConfiguration 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<VoiceIdStartSessionAction.Session>- Returns:
- a new instance of
VoiceIdStartSessionAction.Session - Throws:
NullPointerException- if any required attribute was not provided
-