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