Interface TranscribeAudioResults.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TranscribeAudioResults.Builder,,TranscribeAudioResults> SdkBuilder<TranscribeAudioResults.Builder,,TranscribeAudioResults> SdkPojo
- Enclosing class:
TranscribeAudioResults
@Mutable
@NotThreadSafe
public static interface TranscribeAudioResults.Builder
extends SdkPojo, CopyableBuilder<TranscribeAudioResults.Builder,TranscribeAudioResults>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<SyncItem> items) The words and punctuation in your transcript, with timing and any labels you requested.items(Consumer<SyncItem.Builder>... items) The words and punctuation in your transcript, with timing and any labels you requested.The words and punctuation in your transcript, with timing and any labels you requested.transcript(String transcript) The full text of your transcript.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
-
transcript
The full text of your transcript.
If you enabled
ChannelIdentification, the text of channelch_0is followed by the text of channelch_1.- Parameters:
transcript- The full text of your transcript.If you enabled
ChannelIdentification, the text of channelch_0is followed by the text of channelch_1.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The words and punctuation in your transcript, with timing and any labels you requested.
- Parameters:
items- The words and punctuation in your transcript, with timing and any labels you requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The words and punctuation in your transcript, with timing and any labels you requested.
- Parameters:
items- The words and punctuation in your transcript, with timing and any labels you requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The words and punctuation in your transcript, with timing and any labels you requested.
This is a convenience method that creates an instance of theSyncItem.Builderavoiding the need to create one manually viaSyncItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<SyncItem>).- Parameters:
items- a consumer that will call methods onSyncItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-