Interface SubtitlingConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SubtitlingConfig.Builder,,SubtitlingConfig> SdkBuilder<SubtitlingConfig.Builder,,SubtitlingConfig> SdkPojo
- Enclosing class:
SubtitlingConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault SubtitlingConfig.BuilderaspectRatio(Consumer<AspectRatio.Builder> aspectRatio) The aspect ratio of the output video, specified as width and height integer values.aspectRatio(AspectRatio aspectRatio) The aspect ratio of the output video, specified as width and height integer values.dictionary(String dictionary) The ID of a custom dictionary to improve transcription accuracy for domain-specific terminology.The language of the audio in the source media.language(TranscriptionLanguage language) The language of the audio in the source media.profanityFilter(String profanityFilter) Controls how profanity is handled in the generated subtitles.profanityFilter(ProfanityFilterMode profanityFilter) Controls how profanity is handled in the generated subtitles.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
-
language
The language of the audio in the source media. Elemental Inference uses this setting to optimize transcription accuracy. Specify the language using an ISO 639-2/T three-letter code, optionally with a region subtag. Supported values: eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por.
- Parameters:
language- The language of the audio in the source media. Elemental Inference uses this setting to optimize transcription accuracy. Specify the language using an ISO 639-2/T three-letter code, optionally with a region subtag. Supported values: eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
language
The language of the audio in the source media. Elemental Inference uses this setting to optimize transcription accuracy. Specify the language using an ISO 639-2/T three-letter code, optionally with a region subtag. Supported values: eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por.
- Parameters:
language- The language of the audio in the source media. Elemental Inference uses this setting to optimize transcription accuracy. Specify the language using an ISO 639-2/T three-letter code, optionally with a region subtag. Supported values: eng, eng-au, eng-gb, eng-us, fra, ita, deu, spa, por.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aspectRatio
The aspect ratio of the output video, specified as width and height integer values. Elemental Inference uses the aspect ratio to determine subtitle layout and line lengths.
- Parameters:
aspectRatio- The aspect ratio of the output video, specified as width and height integer values. Elemental Inference uses the aspect ratio to determine subtitle layout and line lengths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aspectRatio
The aspect ratio of the output video, specified as width and height integer values. Elemental Inference uses the aspect ratio to determine subtitle layout and line lengths.
This is a convenience method that creates an instance of theAspectRatio.Builderavoiding the need to create one manually viaAspectRatio.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaspectRatio(AspectRatio).- Parameters:
aspectRatio- a consumer that will call methods onAspectRatio.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dictionary
The ID of a custom dictionary to improve transcription accuracy for domain-specific terminology. Use the CreateDictionary operation to create a dictionary.
- Parameters:
dictionary- The ID of a custom dictionary to improve transcription accuracy for domain-specific terminology. Use the CreateDictionary operation to create a dictionary.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profanityFilter
Controls how profanity is handled in the generated subtitles. Valid values: DISABLED (no filtering, default), CENSOR (replace profanity with asterisks), DROP (remove profanity from the transcript).
- Parameters:
profanityFilter- Controls how profanity is handled in the generated subtitles. Valid values: DISABLED (no filtering, default), CENSOR (replace profanity with asterisks), DROP (remove profanity from the transcript).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
profanityFilter
Controls how profanity is handled in the generated subtitles. Valid values: DISABLED (no filtering, default), CENSOR (replace profanity with asterisks), DROP (remove profanity from the transcript).
- Parameters:
profanityFilter- Controls how profanity is handled in the generated subtitles. Valid values: DISABLED (no filtering, default), CENSOR (replace profanity with asterisks), DROP (remove profanity from the transcript).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-