Interface ChannelParameters.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ChannelParameters.Builder,,ChannelParameters> SdkBuilder<ChannelParameters.Builder,,ChannelParameters> SdkPojo
- Enclosing class:
ChannelParameters
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChannelParameters.BuildernotifyValue(Consumer<NotifyParameters.Builder> notifyValue) The parameters for the preapproved notify-template route over the SMS or voice channels.notifyValue(NotifyParameters notifyValue) The parameters for the preapproved notify-template route over the SMS or voice channels.default ChannelParameters.Buildertext(Consumer<TextParameters.Builder> text) The parameters for the text channel, which delivers over SMS or RCS.text(TextParameters text) The parameters for the text channel, which delivers over SMS or RCS.default ChannelParameters.Buildervoice(Consumer<VoiceParameters.Builder> voice) The parameters for the voice channel.voice(VoiceParameters voice) The parameters for the voice channel.default ChannelParameters.BuilderwhatsApp(Consumer<WhatsAppParameters.Builder> whatsApp) The parameters for the WhatsApp channel.whatsApp(WhatsAppParameters whatsApp) The parameters for the WhatsApp channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
text
The parameters for the text channel, which delivers over SMS or RCS.
- Parameters:
text- The parameters for the text channel, which delivers over SMS or RCS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The parameters for the text channel, which delivers over SMS or RCS.
This is a convenience method that creates an instance of theTextParameters.Builderavoiding the need to create one manually viaTextParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totext(TextParameters).- Parameters:
text- a consumer that will call methods onTextParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
voice
The parameters for the voice channel.
- Parameters:
voice- The parameters for the voice channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
voice
The parameters for the voice channel.
This is a convenience method that creates an instance of theVoiceParameters.Builderavoiding the need to create one manually viaVoiceParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovoice(VoiceParameters).- Parameters:
voice- a consumer that will call methods onVoiceParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
notifyValue
The parameters for the preapproved notify-template route over the SMS or voice channels.
- Parameters:
notifyValue- The parameters for the preapproved notify-template route over the SMS or voice channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyValue
The parameters for the preapproved notify-template route over the SMS or voice channels.
This is a convenience method that creates an instance of theNotifyParameters.Builderavoiding the need to create one manually viaNotifyParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonotifyValue(NotifyParameters).- Parameters:
notifyValue- a consumer that will call methods onNotifyParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
whatsApp
The parameters for the WhatsApp channel.
- Parameters:
whatsApp- The parameters for the WhatsApp channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatsApp
The parameters for the WhatsApp channel.
This is a convenience method that creates an instance of theWhatsAppParameters.Builderavoiding the need to create one manually viaWhatsAppParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towhatsApp(WhatsAppParameters).- Parameters:
whatsApp- a consumer that will call methods onWhatsAppParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-