Interface Content.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Content.Builder,Content>,SdkBuilder<Content.Builder,Content>,SdkPojo
- Enclosing class:
- Content
public static interface Content.Builder extends SdkPojo, CopyableBuilder<Content.Builder,Content>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Content.BuilderaudioList(Collection<Audio> audioList)The list of audio messages.Content.BuilderaudioList(Consumer<Audio.Builder>... audioList)The list of audio messages.Content.BuilderaudioList(Audio... audioList)The list of audio messages.Content.BuilderssmlList(Collection<Ssml> ssmlList)The list of SSML messages.Content.BuilderssmlList(Consumer<Ssml.Builder>... ssmlList)The list of SSML messages.Content.BuilderssmlList(Ssml... ssmlList)The list of SSML messages.Content.BuildertextList(Collection<Text> textList)The list of text messages.Content.BuildertextList(Consumer<Text.Builder>... textList)The list of text messages.Content.BuildertextList(Text... textList)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 Detail
-
textList
Content.Builder textList(Collection<Text> 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
Content.Builder textList(Text... 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
Content.Builder textList(Consumer<Text.Builder>... textList)
The list of text messages.
This is a convenience method that creates an instance of theText.Builderavoiding the need to create one manually viaText.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#textList(List.) - 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:
#textList(java.util.Collection)
-
ssmlList
Content.Builder ssmlList(Collection<Ssml> 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
Content.Builder ssmlList(Ssml... 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
Content.Builder ssmlList(Consumer<Ssml.Builder>... ssmlList)
The list of SSML messages.
This is a convenience method that creates an instance of theSsml.Builderavoiding the need to create one manually viaSsml.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ssmlList(List.) - 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:
#ssmlList(java.util.Collection)
-
audioList
Content.Builder audioList(Collection<Audio> 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
Content.Builder audioList(Audio... 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
Content.Builder audioList(Consumer<Audio.Builder>... audioList)
The list of audio messages.
This is a convenience method that creates an instance of theAudio.Builderavoiding the need to create one manually viaAudio.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#audioList(List.- 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:
#audioList(java.util.Collection
-
-