Class VoiceIdEvaluateSessionAction.AuthenticationResult.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdEvaluateSessionAction.AuthenticationResult.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.AuthenticationResult>
- Enclosing interface:
VoiceIdEvaluateSessionAction.AuthenticationResult
@Stability(Experimental)
public static final class VoiceIdEvaluateSessionAction.AuthenticationResult.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.AuthenticationResult>
A builder for
VoiceIdEvaluateSessionAction.AuthenticationResult-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaudioAggregationEndedAt(List<String> audioAggregationEndedAt) audioAggregationStartedAt(List<String> audioAggregationStartedAt) authenticationResultId(List<String> authenticationResultId) build()Builds the configured instance.Sets the value ofVoiceIdEvaluateSessionAction.AuthenticationResult.getConfiguration()Sets the value ofVoiceIdEvaluateSessionAction.AuthenticationResult.getDecision()Sets the value ofVoiceIdEvaluateSessionAction.AuthenticationResult.getScore()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
audioAggregationEndedAt
@Stability(Experimental) public VoiceIdEvaluateSessionAction.AuthenticationResult.Builder audioAggregationEndedAt(List<String> audioAggregationEndedAt) - Parameters:
audioAggregationEndedAt- audioAggregationEndedAt property. Specify an array of string values to match this event if the actual value of audioAggregationEndedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
audioAggregationStartedAt
@Stability(Experimental) public VoiceIdEvaluateSessionAction.AuthenticationResult.Builder audioAggregationStartedAt(List<String> audioAggregationStartedAt) - Parameters:
audioAggregationStartedAt- audioAggregationStartedAt property. Specify an array of string values to match this event if the actual value of audioAggregationStartedAt is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
authenticationResultId
@Stability(Experimental) public VoiceIdEvaluateSessionAction.AuthenticationResult.Builder authenticationResultId(List<String> authenticationResultId) - Parameters:
authenticationResultId- authenticationResultId property. Specify an array of string values to match this event if the actual value of authenticationResultId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
configuration
@Stability(Experimental) public VoiceIdEvaluateSessionAction.AuthenticationResult.Builder configuration(VoiceIdEvaluateSessionAction.ConfigurationAuthentication configuration) Sets the value ofVoiceIdEvaluateSessionAction.AuthenticationResult.getConfiguration()- Parameters:
configuration- configuration property. Specify an array of string values to match this event if the actual value of configuration is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
decision
@Stability(Experimental) public VoiceIdEvaluateSessionAction.AuthenticationResult.Builder decision(List<String> decision) Sets the value ofVoiceIdEvaluateSessionAction.AuthenticationResult.getDecision()- Parameters:
decision- decision property. Specify an array of string values to match this event if the actual value of decision is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
score
@Stability(Experimental) public VoiceIdEvaluateSessionAction.AuthenticationResult.Builder score(List<String> score) Sets the value ofVoiceIdEvaluateSessionAction.AuthenticationResult.getScore()- Parameters:
score- score property. Specify an array of string values to match this event if the actual value of score 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.AuthenticationResult>- Returns:
- a new instance of
VoiceIdEvaluateSessionAction.AuthenticationResult - Throws:
NullPointerException- if any required attribute was not provided
-