Class VoiceIdEvaluateSessionAction.Session.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdEvaluateSessionAction.Session.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.Session>
- Enclosing interface:
VoiceIdEvaluateSessionAction.Session
@Stability(Experimental)
public static final class VoiceIdEvaluateSessionAction.Session.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.Session>
A builder for
VoiceIdEvaluateSessionAction.Session-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationResult(VoiceIdEvaluateSessionAction.AuthenticationResult authenticationResult) Sets the value ofVoiceIdEvaluateSessionAction.Session.getAuthenticationResult()build()Builds the configured instance.fraudDetectionResult(VoiceIdEvaluateSessionAction.FraudDetectionResult fraudDetectionResult) Sets the value ofVoiceIdEvaluateSessionAction.Session.getFraudDetectionResult()generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofVoiceIdEvaluateSessionAction.Session.getGeneratedSpeakerId()Sets the value ofVoiceIdEvaluateSessionAction.Session.getSessionId()sessionName(List<String> sessionName) Sets the value ofVoiceIdEvaluateSessionAction.Session.getSessionName()streamingStatus(List<String> streamingStatus) Sets the value ofVoiceIdEvaluateSessionAction.Session.getStreamingStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationResult
@Stability(Experimental) public VoiceIdEvaluateSessionAction.Session.Builder authenticationResult(VoiceIdEvaluateSessionAction.AuthenticationResult authenticationResult) Sets the value ofVoiceIdEvaluateSessionAction.Session.getAuthenticationResult()- Parameters:
authenticationResult- authenticationResult property. Specify an array of string values to match this event if the actual value of authenticationResult is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
fraudDetectionResult
@Stability(Experimental) public VoiceIdEvaluateSessionAction.Session.Builder fraudDetectionResult(VoiceIdEvaluateSessionAction.FraudDetectionResult fraudDetectionResult) Sets the value ofVoiceIdEvaluateSessionAction.Session.getFraudDetectionResult()- Parameters:
fraudDetectionResult- fraudDetectionResult property. Specify an array of string values to match this event if the actual value of fraudDetectionResult 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 VoiceIdEvaluateSessionAction.Session.Builder generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofVoiceIdEvaluateSessionAction.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 VoiceIdEvaluateSessionAction.Session.Builder sessionId(List<String> sessionId) Sets the value ofVoiceIdEvaluateSessionAction.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 VoiceIdEvaluateSessionAction.Session.Builder sessionName(List<String> sessionName) Sets the value ofVoiceIdEvaluateSessionAction.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
-
streamingStatus
@Stability(Experimental) public VoiceIdEvaluateSessionAction.Session.Builder streamingStatus(List<String> streamingStatus) Sets the value ofVoiceIdEvaluateSessionAction.Session.getStreamingStatus()- Parameters:
streamingStatus- streamingStatus property. Specify an array of string values to match this event if the actual value of streamingStatus 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<VoiceIdEvaluateSessionAction.Session>- Returns:
- a new instance of
VoiceIdEvaluateSessionAction.Session - Throws:
NullPointerException- if any required attribute was not provided
-