Interface TranscriptResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<TranscriptResponse.Builder,,TranscriptResponse> SdkBuilder<TranscriptResponse.Builder,,TranscriptResponse> SdkPojo
- Enclosing class:
TranscriptResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault TranscriptResponse.Buildermetadata(Consumer<TranscribeAudioMetadata.Builder> metadata) Information about your audio, such as the detected language, format, and sample rate.metadata(TranscribeAudioMetadata metadata) Information about your audio, such as the detected language, format, and sample rate.default TranscriptResponse.BuilderredactedResults(Consumer<TranscribeAudioResults.Builder> redactedResults) Your transcript with personally identifiable information (PII) redacted.redactedResults(TranscribeAudioResults redactedResults) Your transcript with personally identifiable information (PII) redacted.default TranscriptResponse.Builderresults(Consumer<TranscribeAudioResults.Builder> results) Your unredacted transcript.results(TranscribeAudioResults results) Your unredacted 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
-
metadata
Information about your audio, such as the detected language, format, and sample rate.
- Parameters:
metadata- Information about your audio, such as the detected language, format, and sample rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Information about your audio, such as the detected language, format, and sample rate.
This is a convenience method that creates an instance of theTranscribeAudioMetadata.Builderavoiding the need to create one manually viaTranscribeAudioMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(TranscribeAudioMetadata).- Parameters:
metadata- a consumer that will call methods onTranscribeAudioMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
results
Your unredacted transcript.
If you set
RedactionOutputtoredacted, Amazon Transcribe doesn't return this field. UseRedactedResultsinstead.- Parameters:
results- Your unredacted transcript.If you set
RedactionOutputtoredacted, Amazon Transcribe doesn't return this field. UseRedactedResultsinstead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
Your unredacted transcript.
If you set
This is a convenience method that creates an instance of theRedactionOutputtoredacted, Amazon Transcribe doesn't return this field. UseRedactedResultsinstead.TranscribeAudioResults.Builderavoiding the need to create one manually viaTranscribeAudioResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresults(TranscribeAudioResults).- Parameters:
results- a consumer that will call methods onTranscribeAudioResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
redactedResults
Your transcript with personally identifiable information (PII) redacted. Present only if you included
ContentRedactionin your request.- Parameters:
redactedResults- Your transcript with personally identifiable information (PII) redacted. Present only if you includedContentRedactionin your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
redactedResults
default TranscriptResponse.Builder redactedResults(Consumer<TranscribeAudioResults.Builder> redactedResults) Your transcript with personally identifiable information (PII) redacted. Present only if you included
This is a convenience method that creates an instance of theContentRedactionin your request.TranscribeAudioResults.Builderavoiding the need to create one manually viaTranscribeAudioResults.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toredactedResults(TranscribeAudioResults).- Parameters:
redactedResults- a consumer that will call methods onTranscribeAudioResults.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-