Class DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.voiceid.events.DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps>
- Enclosing interface:
DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps
@Stability(Experimental)
public static final class DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.getAction()build()Builds the configured instance.Sets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.getData()eventMetadata(AWSEventMetadataProps eventMetadata) generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.getStatus()systemAttributes(DomainEvents.VoiceIdSpeakerAction.SystemAttributes systemAttributes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Experimental) public DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder action(List<String> action) Sets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.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
-
data
@Stability(Experimental) public DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder data(DomainEvents.VoiceIdSpeakerAction.Data data) Sets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.getData()- Parameters:
data- data property. Specify an array of string values to match this event if the actual value of data 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.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.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 DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder errorInfo(DomainEvents.VoiceIdSpeakerAction.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 DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
generatedSpeakerId
@Stability(Experimental) public DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder generatedSpeakerId(List<String> generatedSpeakerId) Sets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.getGeneratedSpeakerId()- Parameters:
generatedSpeakerId- generatedSpeakerId property. Specify an array of string values to match this event if the actual value of generatedSpeakerId 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.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.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 DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder status(List<String> status) Sets the value ofDomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.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 DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps.Builder systemAttributes(DomainEvents.VoiceIdSpeakerAction.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<DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps>- Returns:
- a new instance of
DomainEvents.VoiceIdSpeakerAction.VoiceIdSpeakerActionProps - Throws:
NullPointerException- if any required attribute was not provided
-