setVoice
Set the Bedrock voice ID after construction.
Parameters
voiceId
Bedrock voice identifier (e.g., "matthew", "joanna").
Returns
BedrockAgent — Returns this for method chaining.
Set the Bedrock voice ID after construction.
Bedrock voice identifier (e.g., "matthew", "joanna").
BedrockAgent — Returns this for method chaining.