Interface Transcript.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Transcript.Builder,Transcript>,SdkBuilder<Transcript.Builder,Transcript>,SdkPojo
- Enclosing class:
- Transcript
@Mutable @NotThreadSafe public static interface Transcript.Builder extends SdkPojo, CopyableBuilder<Transcript.Builder,Transcript>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Transcript.Builderresults(Collection<Result> results)Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.Transcript.Builderresults(Consumer<Result.Builder>... results)Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.Transcript.Builderresults(Result... results)Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
results
Transcript.Builder results(Collection<Result> results)
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
- Parameters:
results- Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Transcript.Builder results(Result... results)
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
- Parameters:
results- Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Transcript.Builder results(Consumer<Result.Builder>... results)
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
This is a convenience method that creates an instance of theResult.Builderavoiding the need to create one manually viaResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - Parameters:
results- a consumer that will call methods onResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
-