Class VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps>
- Enclosing interface:
VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps
@Stability(Experimental)
public static final class VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.errorInfo(VoiceIdEvaluateSessionAction.ErrorInfo errorInfo) eventMetadata(AWSEventMetadataProps eventMetadata) systemAttributes(VoiceIdEvaluateSessionAction.SystemAttributes systemAttributes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder action(List<String> action) - Parameters:
action- action property. Specify an array of string values to match this event if the actual value of action is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
domainId
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder domainId(List<String> domainId) - Parameters:
domainId- domainId property. Specify an array of string values to match this event if the actual value of domainId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
errorInfo
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder errorInfo(VoiceIdEvaluateSessionAction.ErrorInfo errorInfo) - Parameters:
errorInfo- errorInfo property. Specify an array of string values to match this event if the actual value of errorInfo is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
session
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder session(VoiceIdEvaluateSessionAction.Session session) - Parameters:
session- session property. Specify an array of string values to match this event if the actual value of session is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceId
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder sourceId(List<String> sourceId) - Parameters:
sourceId- sourceId property. Specify an array of string values to match this event if the actual value of sourceId is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
status
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder status(List<String> status) - Parameters:
status- status property. Specify an array of string values to match this event if the actual value of status is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
systemAttributes
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.Builder systemAttributes(VoiceIdEvaluateSessionAction.SystemAttributes systemAttributes) Sets the value ofVoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps.getSystemAttributes()- Parameters:
systemAttributes- systemAttributes property. Specify an array of string values to match this event if the actual value of systemAttributes is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
@Stability(Experimental) public VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps>- Returns:
- a new instance of
VoiceIdEvaluateSessionAction.VoiceIdEvaluateSessionActionProps - Throws:
NullPointerException- if any required attribute was not provided
-