Interface VoiceCreationData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VoiceCreationData.Builder,,VoiceCreationData> SdkBuilder<VoiceCreationData.Builder,,VoiceCreationData> SdkPojo
- Enclosing class:
VoiceCreationData
@Mutable
@NotThreadSafe
public static interface VoiceCreationData.Builder
extends SdkPojo, CopyableBuilder<VoiceCreationData.Builder,VoiceCreationData>
-
Method Summary
Modifier and TypeMethodDescriptionrecordings(Collection<Recording> recordings) The recordings of the speaker.recordings(Consumer<Recording.Builder>... recordings) The recordings of the speaker.recordings(Recording... recordings) The recordings of the speaker.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
-
recordings
The recordings of the speaker. Each recording specifies its audio format and its audio source.
- Parameters:
recordings- The recordings of the speaker. Each recording specifies its audio format and its audio source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordings
The recordings of the speaker. Each recording specifies its audio format and its audio source.
- Parameters:
recordings- The recordings of the speaker. Each recording specifies its audio format and its audio source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordings
The recordings of the speaker. Each recording specifies its audio format and its audio source.
This is a convenience method that creates an instance of theRecording.Builderavoiding the need to create one manually viaRecording.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torecordings(List<Recording>).- Parameters:
recordings- a consumer that will call methods onRecording.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-