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 Details

    • 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

      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 of 1. If you're uncertain which value to use, we recommend choosing 1, 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 of 1. If you're uncertain which value to use, we recommend choosing 1, as this may improve compatibility with other services.

      Returns:
      Returns a reference to this object so that method calls can be chained together.