Interface SendNotifyVoiceMessageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendNotifyVoiceMessageRequest.Builder,,SendNotifyVoiceMessageRequest> PinpointSmsVoiceV2Request.Builder,SdkBuilder<SendNotifyVoiceMessageRequest.Builder,,SendNotifyVoiceMessageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendNotifyVoiceMessageRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSetName(String configurationSetName) The name of the configuration set to use.You can specify custom data in this field.destinationPhoneNumber(String destinationPhoneNumber) The destination phone number in E.164 format.When set to true, the message is checked and validated, but isn't sent to the end recipient.messageFeedbackEnabled(Boolean messageFeedbackEnabled) Set to true to enable message feedback for the message.notifyConfigurationId(String notifyConfigurationId) The unique identifier of the notify configuration to use for sending the message.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.templateId(String templateId) The unique identifier of the template to use for the message.templateVariables(Map<String, String> templateVariables) A map of template variable names and their values.timeToLive(Integer timeToLive) How long the voice message is valid for, in seconds.The voice ID to use for the voice message.The voice ID to use for the voice message.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
notifyConfigurationId
The unique identifier of the notify configuration to use for sending the message. This can be either the NotifyConfigurationId or NotifyConfigurationArn.
- Parameters:
notifyConfigurationId- The unique identifier of the notify configuration to use for sending the message. This can be either the NotifyConfigurationId or NotifyConfigurationArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPhoneNumber
The destination phone number in E.164 format.
- Parameters:
destinationPhoneNumber- The destination phone number in E.164 format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
The unique identifier of the template to use for the message.
- Parameters:
templateId- The unique identifier of the template to use for the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateVariables
A map of template variable names and their values. All variable values are passed as strings regardless of the declared variable type. For example, pass
INTEGERvalues as"42"andBOOLEANvalues as"true"or"false".- Parameters:
templateVariables- A map of template variable names and their values. All variable values are passed as strings regardless of the declared variable type. For example, passINTEGERvalues as"42"andBOOLEANvalues as"true"or"false".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voiceId
The voice ID to use for the voice message.
- Parameters:
voiceId- The voice ID to use for the voice message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
voiceId
The voice ID to use for the voice message.
- Parameters:
voiceId- The voice ID to use for the voice message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timeToLive
How long the voice message is valid for, in seconds. By default this is 72 hours.
- Parameters:
timeToLive- How long the voice message is valid for, in seconds. By default this is 72 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
You can specify custom data in this field. If you do, that data is logged to the event destination.
- Parameters:
context- You can specify custom data in this field. If you do, that data is logged to the event destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationSetName
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
- Parameters:
configurationSetName- The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
When set to true, the message is checked and validated, but isn't sent to the end recipient.
- Parameters:
dryRun- When set to true, the message is checked and validated, but isn't sent to the end recipient.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageFeedbackEnabled
Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.
- Parameters:
messageFeedbackEnabled- Set to true to enable message feedback for the message. When a user receives the message you need to update the message status using PutMessageFeedback.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendNotifyVoiceMessageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendNotifyVoiceMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-