public static interface SendVoiceMessageRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<SendVoiceMessageRequest.Builder,SendVoiceMessageRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildSendVoiceMessageRequest.Builder destinationPhoneNumber(String destinationPhoneNumber)
The destination phone number in E.164 format.
destinationPhoneNumber - The destination phone number in E.164 format.SendVoiceMessageRequest.Builder originationIdentity(String originationIdentity)
The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId, PhoneNumberArn, PoolId, or PoolArn.
originationIdentity - The origination identity to use for the voice call. This can be the PhoneNumber, PhoneNumberId,
PhoneNumberArn, PoolId, or PoolArn.SendVoiceMessageRequest.Builder messageBody(String messageBody)
The text to convert to a voice message.
messageBody - The text to convert to a voice message.SendVoiceMessageRequest.Builder messageBodyTextType(String messageBodyTextType)
Specifies if the MessageBody field contains text or speech synthesis markup language (SSML).
TEXT: This is the default value. When used the maximum character limit is 3000.
SSML: When used the maximum character limit is 6000 including SSML tagging.
messageBodyTextType - Specifies if the MessageBody field contains text or speech synthesis markup language
(SSML).
TEXT: This is the default value. When used the maximum character limit is 3000.
SSML: When used the maximum character limit is 6000 including SSML tagging.
VoiceMessageBodyTextType,
VoiceMessageBodyTextTypeSendVoiceMessageRequest.Builder messageBodyTextType(VoiceMessageBodyTextType messageBodyTextType)
Specifies if the MessageBody field contains text or speech synthesis markup language (SSML).
TEXT: This is the default value. When used the maximum character limit is 3000.
SSML: When used the maximum character limit is 6000 including SSML tagging.
messageBodyTextType - Specifies if the MessageBody field contains text or speech synthesis markup language
(SSML).
TEXT: This is the default value. When used the maximum character limit is 3000.
SSML: When used the maximum character limit is 6000 including SSML tagging.
VoiceMessageBodyTextType,
VoiceMessageBodyTextTypeSendVoiceMessageRequest.Builder voiceId(String voiceId)
The voice for the Amazon Polly service to use. By default this is set to "MATTHEW".
voiceId - The voice for the Amazon Polly
service to use. By default this is set to "MATTHEW".VoiceId,
VoiceIdSendVoiceMessageRequest.Builder voiceId(VoiceId voiceId)
The voice for the Amazon Polly service to use. By default this is set to "MATTHEW".
voiceId - The voice for the Amazon Polly
service to use. By default this is set to "MATTHEW".VoiceId,
VoiceIdSendVoiceMessageRequest.Builder configurationSetName(String configurationSetName)
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
configurationSetName - The name of the configuration set to use. This can be either the ConfigurationSetName or
ConfigurationSetArn.SendVoiceMessageRequest.Builder maxPricePerMinute(String maxPricePerMinute)
The maximum amount to spend per voice message, in US dollars.
maxPricePerMinute - The maximum amount to spend per voice message, in US dollars.SendVoiceMessageRequest.Builder timeToLive(Integer timeToLive)
How long the voice message is valid for. By default this is 72 hours.
timeToLive - How long the voice message is valid for. By default this is 72 hours.SendVoiceMessageRequest.Builder context(Map<String,String> context)
You can specify custom data in this field. If you do, that data is logged to the event destination.
context - You can specify custom data in this field. If you do, that data is logged to the event destination.SendVoiceMessageRequest.Builder dryRun(Boolean dryRun)
When set to true, the message is checked and validated, but isn't sent to the end recipient.
dryRun - When set to true, the message is checked and validated, but isn't sent to the end recipient.SendVoiceMessageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderSendVoiceMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.