Class VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VoiceIdStartSessionAction.VoiceIdStartSessionActionProps>
- Enclosing interface:
VoiceIdStartSessionAction.VoiceIdStartSessionActionProps
@Stability(Experimental)
public static final class VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<VoiceIdStartSessionAction.VoiceIdStartSessionActionProps>
A builder for
VoiceIdStartSessionAction.VoiceIdStartSessionActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getAction()build()Builds the configured instance.Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getDomainId()errorInfo(VoiceIdStartSessionAction.ErrorInfo errorInfo) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getErrorInfo()eventMetadata(AWSEventMetadataProps eventMetadata) session(VoiceIdStartSessionAction.Session session) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getSession()Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getSourceId()Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getStatus()systemAttributes(VoiceIdStartSessionAction.SystemAttributes systemAttributes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Experimental) public VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder action(List<String> action) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getAction()- 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 VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder domainId(List<String> domainId) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getDomainId()- 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 VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder errorInfo(VoiceIdStartSessionAction.ErrorInfo errorInfo) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getErrorInfo()- 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 VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
session
@Stability(Experimental) public VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder session(VoiceIdStartSessionAction.Session session) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getSession()- 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 VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder sourceId(List<String> sourceId) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getSourceId()- 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 VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder status(List<String> status) Sets the value ofVoiceIdStartSessionAction.VoiceIdStartSessionActionProps.getStatus()- 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 VoiceIdStartSessionAction.VoiceIdStartSessionActionProps.Builder systemAttributes(VoiceIdStartSessionAction.SystemAttributes systemAttributes) - 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
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VoiceIdStartSessionAction.VoiceIdStartSessionActionProps>- Returns:
- a new instance of
VoiceIdStartSessionAction.VoiceIdStartSessionActionProps - Throws:
NullPointerException- if any required attribute was not provided
-