Class DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DomainEvents.VoiceIdEvaluateSessionAction.Session>
- Enclosing interface:
DomainEvents.VoiceIdEvaluateSessionAction.Session
@Stability(Experimental)
public static final class DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder
extends Object
implements software.amazon.jsii.Builder<DomainEvents.VoiceIdEvaluateSessionAction.Session>
A builder for
DomainEvents.VoiceIdEvaluateSessionAction.Session-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthenticationResult(DomainEvents.VoiceIdEvaluateSessionAction.AuthenticationResult authenticationResult) build()Builds the configured instance.fraudDetectionResult(DomainEvents.VoiceIdEvaluateSessionAction.FraudDetectionResult fraudDetectionResult) generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofDomainEvents.VoiceIdEvaluateSessionAction.Session.getSessionId()sessionName(List<String> sessionName) Sets the value ofDomainEvents.VoiceIdEvaluateSessionAction.Session.getSessionName()streamingStatus(List<String> streamingStatus) Sets the value ofDomainEvents.VoiceIdEvaluateSessionAction.Session.getStreamingStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authenticationResult
@Stability(Experimental) public DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder authenticationResult(DomainEvents.VoiceIdEvaluateSessionAction.AuthenticationResult authenticationResult) - 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 DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder fraudDetectionResult(DomainEvents.VoiceIdEvaluateSessionAction.FraudDetectionResult fraudDetectionResult) - 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 DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder generatedSpeakerId(List<String> generatedSpeakerId) - 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 DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder sessionId(List<String> sessionId) Sets the value ofDomainEvents.VoiceIdEvaluateSessionAction.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 DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder sessionName(List<String> sessionName) Sets the value ofDomainEvents.VoiceIdEvaluateSessionAction.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 DomainEvents.VoiceIdEvaluateSessionAction.Session.Builder streamingStatus(List<String> streamingStatus) Sets the value ofDomainEvents.VoiceIdEvaluateSessionAction.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<DomainEvents.VoiceIdEvaluateSessionAction.Session>- Returns:
- a new instance of
DomainEvents.VoiceIdEvaluateSessionAction.Session - Throws:
NullPointerException- if any required attribute was not provided
-