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