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