/* * 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; /** *
* Provides information about your subtitle file, including format, start index, * and Amazon S3 location. *
*/ public class SubtitlesOutput implements Serializable { /** *
* Provides the format of your subtitle files. If your request included both
* WebVTT (vtt
) and SubRip (srt
) formats, both
* formats are shown.
*
* The Amazon S3 location of your transcript. You can use this URI to access * or download your subtitle file. Your subtitle file is stored in the same * location as your transcript. If you specified both WebVTT and SubRip * subtitle formats, two URIs are provided. *
*
* If you included OutputBucketName
in your transcription job
* request, this is the URI of that bucket. If you also included
* OutputKey
in your request, your output is located in the
* path you specified in your request.
*
* If you didn't include OutputBucketName
in your transcription
* job request, your subtitle file is stored in a service-managed bucket,
* and TranscriptFileUri
provides you with a temporary URI you
* can use for secure access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only valid for
* 15 minutes. If you get an AccesDenied
error, you can get a
* new temporary URI by running a GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* Provides the start index value for your subtitle files. If you did not
* specify a value in your request, the default value of 0
is
* used.
*
* Constraints:
* Range: 0 - 1
*/
private Integer outputStartIndex;
/**
*
* Provides the format of your subtitle files. If your request included both
* WebVTT (vtt
) and SubRip (srt
) formats, both
* formats are shown.
*
* Provides the format of your subtitle files. If your request
* included both WebVTT (vtt
) and SubRip (
* srt
) formats, both formats are shown.
*
* Provides the format of your subtitle files. If your request included both
* WebVTT (vtt
) and SubRip (srt
) formats, both
* formats are shown.
*
* Provides the format of your subtitle files. If your request
* included both WebVTT (vtt
) and SubRip (
* srt
) formats, both formats are shown.
*
* Provides the format of your subtitle files. If your request included both
* WebVTT (vtt
) and SubRip (srt
) formats, both
* formats are shown.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param formats
* Provides the format of your subtitle files. If your request
* included both WebVTT (vtt
) and SubRip (
* srt
) formats, both formats are shown.
*
* Provides the format of your subtitle files. If your request included both
* WebVTT (vtt
) and SubRip (srt
) formats, both
* formats are shown.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param formats
* Provides the format of your subtitle files. If your request
* included both WebVTT (vtt
) and SubRip (
* srt
) formats, both formats are shown.
*
* The Amazon S3 location of your transcript. You can use this URI to access * or download your subtitle file. Your subtitle file is stored in the same * location as your transcript. If you specified both WebVTT and SubRip * subtitle formats, two URIs are provided. *
*
* If you included OutputBucketName
in your transcription job
* request, this is the URI of that bucket. If you also included
* OutputKey
in your request, your output is located in the
* path you specified in your request.
*
* If you didn't include OutputBucketName
in your transcription
* job request, your subtitle file is stored in a service-managed bucket,
* and TranscriptFileUri
provides you with a temporary URI you
* can use for secure access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only valid for
* 15 minutes. If you get an AccesDenied
error, you can get a
* new temporary URI by running a GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* The Amazon S3 location of your transcript. You can use this URI * to access or download your subtitle file. Your subtitle file is * stored in the same location as your transcript. If you specified * both WebVTT and SubRip subtitle formats, two URIs are provided. *
*
* If you included OutputBucketName
in your
* transcription job request, this is the URI of that bucket. If you
* also included OutputKey
in your request, your output
* is located in the path you specified in your request.
*
* If you didn't include OutputBucketName
in your
* transcription job request, your subtitle file is stored in a
* service-managed bucket, and TranscriptFileUri
* provides you with a temporary URI you can use for secure access
* to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only
* valid for 15 minutes. If you get an AccesDenied
* error, you can get a new temporary URI by running a
* GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* The Amazon S3 location of your transcript. You can use this URI to access * or download your subtitle file. Your subtitle file is stored in the same * location as your transcript. If you specified both WebVTT and SubRip * subtitle formats, two URIs are provided. *
*
* If you included OutputBucketName
in your transcription job
* request, this is the URI of that bucket. If you also included
* OutputKey
in your request, your output is located in the
* path you specified in your request.
*
* If you didn't include OutputBucketName
in your transcription
* job request, your subtitle file is stored in a service-managed bucket,
* and TranscriptFileUri
provides you with a temporary URI you
* can use for secure access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only valid for
* 15 minutes. If you get an AccesDenied
error, you can get a
* new temporary URI by running a GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* The Amazon S3 location of your transcript. You can use this * URI to access or download your subtitle file. Your subtitle * file is stored in the same location as your transcript. If you * specified both WebVTT and SubRip subtitle formats, two URIs * are provided. *
*
* If you included OutputBucketName
in your
* transcription job request, this is the URI of that bucket. If
* you also included OutputKey
in your request, your
* output is located in the path you specified in your request.
*
* If you didn't include OutputBucketName
in your
* transcription job request, your subtitle file is stored in a
* service-managed bucket, and TranscriptFileUri
* provides you with a temporary URI you can use for secure
* access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only
* valid for 15 minutes. If you get an AccesDenied
* error, you can get a new temporary URI by running a
* GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* The Amazon S3 location of your transcript. You can use this URI to access * or download your subtitle file. Your subtitle file is stored in the same * location as your transcript. If you specified both WebVTT and SubRip * subtitle formats, two URIs are provided. *
*
* If you included OutputBucketName
in your transcription job
* request, this is the URI of that bucket. If you also included
* OutputKey
in your request, your output is located in the
* path you specified in your request.
*
* If you didn't include OutputBucketName
in your transcription
* job request, your subtitle file is stored in a service-managed bucket,
* and TranscriptFileUri
provides you with a temporary URI you
* can use for secure access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only valid for
* 15 minutes. If you get an AccesDenied
error, you can get a
* new temporary URI by running a GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param subtitleFileUris
* The Amazon S3 location of your transcript. You can use this * URI to access or download your subtitle file. Your subtitle * file is stored in the same location as your transcript. If you * specified both WebVTT and SubRip subtitle formats, two URIs * are provided. *
*
* If you included OutputBucketName
in your
* transcription job request, this is the URI of that bucket. If
* you also included OutputKey
in your request, your
* output is located in the path you specified in your request.
*
* If you didn't include OutputBucketName
in your
* transcription job request, your subtitle file is stored in a
* service-managed bucket, and TranscriptFileUri
* provides you with a temporary URI you can use for secure
* access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only
* valid for 15 minutes. If you get an AccesDenied
* error, you can get a new temporary URI by running a
* GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* The Amazon S3 location of your transcript. You can use this URI to access * or download your subtitle file. Your subtitle file is stored in the same * location as your transcript. If you specified both WebVTT and SubRip * subtitle formats, two URIs are provided. *
*
* If you included OutputBucketName
in your transcription job
* request, this is the URI of that bucket. If you also included
* OutputKey
in your request, your output is located in the
* path you specified in your request.
*
* If you didn't include OutputBucketName
in your transcription
* job request, your subtitle file is stored in a service-managed bucket,
* and TranscriptFileUri
provides you with a temporary URI you
* can use for secure access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only valid for
* 15 minutes. If you get an AccesDenied
error, you can get a
* new temporary URI by running a GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param subtitleFileUris
* The Amazon S3 location of your transcript. You can use this * URI to access or download your subtitle file. Your subtitle * file is stored in the same location as your transcript. If you * specified both WebVTT and SubRip subtitle formats, two URIs * are provided. *
*
* If you included OutputBucketName
in your
* transcription job request, this is the URI of that bucket. If
* you also included OutputKey
in your request, your
* output is located in the path you specified in your request.
*
* If you didn't include OutputBucketName
in your
* transcription job request, your subtitle file is stored in a
* service-managed bucket, and TranscriptFileUri
* provides you with a temporary URI you can use for secure
* access to your subtitle file.
*
* Temporary URIs for service-managed Amazon S3 buckets are only
* valid for 15 minutes. If you get an AccesDenied
* error, you can get a new temporary URI by running a
* GetTranscriptionJob
or
* ListTranscriptionJob
request.
*
* Provides the start index value for your subtitle files. If you did not
* specify a value in your request, the default value of 0
is
* used.
*
* Constraints:
* Range: 0 - 1
*
* @return
* Provides the start index value for your subtitle files. If you
* did not specify a value in your request, the default value of
* 0
is used.
*
* Provides the start index value for your subtitle files. If you did not
* specify a value in your request, the default value of 0
is
* used.
*
* Constraints:
* Range: 0 - 1
*
* @param outputStartIndex
* Provides the start index value for your subtitle files. If you
* did not specify a value in your request, the default value of
* 0
is used.
*
* Provides the start index value for your subtitle files. If you did not
* specify a value in your request, the default value of 0
is
* used.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Range: 0 - 1
*
* @param outputStartIndex
* Provides the start index value for your subtitle files. If you
* did not specify a value in your request, the default value of
* 0
is used.
*