/* * Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.transcribe.model; import java.io.Serializable; /** *
* Generate subtitles for your media file with your transcription request. *
** You can choose a start index of 0 or 1, and you can specify either WebVTT or * SubRip (or both) as your output format. *
** Note that your subtitle files are placed in the same location as your * transcription output. *
*/ public class Subtitles implements Serializable { /** *
* Specify the output format for your subtitle file; if you select both
* WebVTT (vtt
) and SubRip (srt
) formats, two
* output files are generated.
*
* 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.
*
* Constraints:
* Range: 0 - 1
*/
private Integer outputStartIndex;
/**
*
* Specify the output format for your subtitle file; if you select both
* WebVTT (vtt
) and SubRip (srt
) formats, two
* output files are generated.
*
* Specify the output format for your subtitle file; if you select
* both WebVTT (vtt
) and SubRip (srt
)
* formats, two output files are generated.
*
* Specify the output format for your subtitle file; if you select both
* WebVTT (vtt
) and SubRip (srt
) formats, two
* output files are generated.
*
* Specify the output format for your subtitle file; if you
* select both WebVTT (vtt
) and SubRip (
* srt
) formats, two output files are generated.
*
* Specify the output format for your subtitle file; if you select both
* WebVTT (vtt
) and SubRip (srt
) formats, two
* output files are generated.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param formats
* Specify the output format for your subtitle file; if you
* select both WebVTT (vtt
) and SubRip (
* srt
) formats, two output files are generated.
*
* Specify the output format for your subtitle file; if you select both
* WebVTT (vtt
) and SubRip (srt
) formats, two
* output files are generated.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param formats
* Specify the output format for your subtitle file; if you
* select both WebVTT (vtt
) and SubRip (
* srt
) formats, two output files are generated.
*
* 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.
*
* Constraints:
* Range: 0 - 1
*
* @return
* 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.
*
* 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.
*
* Constraints:
* Range: 0 - 1
*
* @param 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.
*
* 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 a reference to this object so that method calls can be chained * together. *
* Constraints:
* Range: 0 - 1
*
* @param 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.
*