Class VoiceIdUpdateSessionAction.Session.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdUpdateSessionAction.Session.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdUpdateSessionAction.Session>
- Enclosing interface:
VoiceIdUpdateSessionAction.Session
@Stability(Experimental)
public static final class VoiceIdUpdateSessionAction.Session.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdUpdateSessionAction.Session>
A builder for
VoiceIdUpdateSessionAction.Session-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationConfiguration(VoiceIdUpdateSessionAction.AuthenticationConfiguration authenticationConfiguration) Sets the value ofVoiceIdUpdateSessionAction.Session.getAuthenticationConfiguration()build()Builds the configured instance.fraudDetectionConfiguration(VoiceIdUpdateSessionAction.FraudDetectionConfiguration fraudDetectionConfiguration) Sets the value ofVoiceIdUpdateSessionAction.Session.getFraudDetectionConfiguration()generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofVoiceIdUpdateSessionAction.Session.getGeneratedSpeakerId()Sets the value ofVoiceIdUpdateSessionAction.Session.getSessionId()sessionName(List<String> sessionName) Sets the value ofVoiceIdUpdateSessionAction.Session.getSessionName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationConfiguration
@Stability(Experimental) public VoiceIdUpdateSessionAction.Session.Builder authenticationConfiguration(VoiceIdUpdateSessionAction.AuthenticationConfiguration authenticationConfiguration) Sets the value ofVoiceIdUpdateSessionAction.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
-
fraudDetectionConfiguration
@Stability(Experimental) public VoiceIdUpdateSessionAction.Session.Builder fraudDetectionConfiguration(VoiceIdUpdateSessionAction.FraudDetectionConfiguration fraudDetectionConfiguration) Sets the value ofVoiceIdUpdateSessionAction.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 VoiceIdUpdateSessionAction.Session.Builder generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofVoiceIdUpdateSessionAction.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 VoiceIdUpdateSessionAction.Session.Builder sessionId(List<String> sessionId) Sets the value ofVoiceIdUpdateSessionAction.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 VoiceIdUpdateSessionAction.Session.Builder sessionName(List<String> sessionName) Sets the value ofVoiceIdUpdateSessionAction.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VoiceIdUpdateSessionAction.Session>- Returns:
- a new instance of
VoiceIdUpdateSessionAction.Session - Throws:
NullPointerException- if any required attribute was not provided
-