Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IUtteranceBuilder

interface IUtteranceBuilder
Extends com.amazon.apmf.IStandard IUtteranceBuilder is a deprecated interface that allows building a concrete instance of IUtterance. Use IUtteranceBuilder2 instead of this one.

Methods

inputText()

IUtteranceBuilder* inputText(string text)
Sets the input text for the speech synthesis.

Parameters

text
string — Required The text of utterance.

Returns

IUtteranceBuilder* An instance of currently used builder.

inputFormatType()

IUtteranceBuilder* inputFormatType(InputFormatType* format)
Defines the input format for the speech synthesis.

Parameters

format
InputFormatType* — Required The format of input text.

Returns

IUtteranceBuilder* An instance of currently used builder.

speechAtrributes()

IUtteranceBuilder* speechAtrributes(SpeechAttributes* attrs)
Deprecated. Use IUtternaceBuilder2::speechAttributes() instead.

Parameters

attrs
SpeechAttributes* — Required The instance of speech attributes.

Returns

IUtteranceBuilder* An instance of currently used builder.

build()

IUtterance* build()
Builds and returns an instance of IUtterance with the given configurations.

Returns

IUtterance* An instance of IUtterance built with options provided earlier to the builder.
Last modified on October 29, 2026