Interface Subtitles.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Subtitles.Builder,Subtitles>,SdkBuilder<Subtitles.Builder,Subtitles>,SdkPojo
- Enclosing class:
- Subtitles
public static interface Subtitles.Builder extends SdkPojo, CopyableBuilder<Subtitles.Builder,Subtitles>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subtitles.Builderformats(Collection<SubtitleFormat> formats)Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.Subtitles.Builderformats(SubtitleFormat... formats)Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.Subtitles.BuilderformatsWithStrings(String... formats)Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.Subtitles.BuilderformatsWithStrings(Collection<String> formats)Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.Subtitles.BuilderoutputStartIndex(Integer outputStartIndex)Specify the starting value that is assigned to the first subtitle segment.-
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, sdkFields
-
-
-
-
Method Detail
-
formatsWithStrings
Subtitles.Builder formatsWithStrings(Collection<String> formats)
Specify the output format for your subtitle file; if you select both WebVTT (
vtt) and SubRip (srt) formats, two output files are generated.- Parameters:
formats- Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formatsWithStrings
Subtitles.Builder formatsWithStrings(String... formats)
Specify the output format for your subtitle file; if you select both WebVTT (
vtt) and SubRip (srt) formats, two output files are generated.- Parameters:
formats- Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formats
Subtitles.Builder formats(Collection<SubtitleFormat> formats)
Specify the output format for your subtitle file; if you select both WebVTT (
vtt) and SubRip (srt) formats, two output files are generated.- Parameters:
formats- Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formats
Subtitles.Builder formats(SubtitleFormat... formats)
Specify the output format for your subtitle file; if you select both WebVTT (
vtt) and SubRip (srt) formats, two output files are generated.- Parameters:
formats- Specify the output format for your subtitle file; if you select both WebVTT (vtt) and SubRip (srt) formats, two output files are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputStartIndex
Subtitles.Builder outputStartIndex(Integer outputStartIndex)
Specify the starting value that is assigned to the first subtitle segment.
The default start index for Amazon Transcribe is
0, which differs from the more widely used standard of1. If you're uncertain which value to use, we recommend choosing1, as this may improve compatibility with other services.- Parameters:
outputStartIndex- Specify the starting value that is assigned to the first subtitle segment.The default start index for Amazon Transcribe is
0, which differs from the more widely used standard of1. If you're uncertain which value to use, we recommend choosing1, as this may improve compatibility with other services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-