Interface Content.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Content.Builder,
,Content> SdkBuilder<Content.Builder,
,Content> SdkPojo
- Enclosing class:
Content
-
Method Summary
Modifier and TypeMethodDescriptionaudioList
(Collection<Audio> audioList) The list of audio messages.audioList
(Consumer<Audio.Builder>... audioList) The list of audio messages.The list of audio messages.ssmlList
(Collection<Ssml> ssmlList) The list of SSML messages.ssmlList
(Consumer<Ssml.Builder>... ssmlList) The list of SSML messages.The list of SSML messages.textList
(Collection<Text> textList) The list of text messages.textList
(Consumer<Text.Builder>... textList) The list of text messages.The list of text messages.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
textList
The list of text messages.
- Parameters:
textList
- The list of text messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textList
The list of text messages.
- Parameters:
textList
- The list of text messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textList
The list of text messages.
This is a convenience method that creates an instance of theText.Builder
avoiding the need to create one manually viaText.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totextList(List<Text>)
.- Parameters:
textList
- a consumer that will call methods onText.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ssmlList
The list of SSML messages.
- Parameters:
ssmlList
- The list of SSML messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmlList
The list of SSML messages.
- Parameters:
ssmlList
- The list of SSML messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ssmlList
The list of SSML messages.
This is a convenience method that creates an instance of theSsml.Builder
avoiding the need to create one manually viaSsml.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tossmlList(List<Ssml>)
.- Parameters:
ssmlList
- a consumer that will call methods onSsml.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
audioList
The list of audio messages.
- Parameters:
audioList
- The list of audio messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioList
The list of audio messages.
- Parameters:
audioList
- The list of audio messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioList
The list of audio messages.
This is a convenience method that creates an instance of theAudio.Builder
avoiding the need to create one manually viaAudio.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaudioList(List<Audio>)
.- Parameters:
audioList
- a consumer that will call methods onAudio.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-