@Generated(value="software.amazon.awssdk:codegen") public final class TranscriptionJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TranscriptionJob.Builder,TranscriptionJob>
Describes an asynchronous transcription job that was created with the StartTranscriptionJob operation.
Note that en-AU, en-UK, and fr-CA languages are in preview and are only available to whitelisted customers.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TranscriptionJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TranscriptionJob.Builder |
builder() |
Instant |
completionTime()
A timestamp that shows when the job was completed.
|
Instant |
creationTime()
A timestamp that shows when the job was created.
|
boolean |
equals(Object obj) |
String |
failureReason()
If the
TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LanguageCode |
languageCode()
The language code for the input speech.
|
String |
languageCodeAsString()
The language code for the input speech.
|
Media |
media()
An object that describes the input media for the transcription job.
|
MediaFormat |
mediaFormat()
The format of the input media file.
|
String |
mediaFormatAsString()
The format of the input media file.
|
Integer |
mediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TranscriptionJob.Builder> |
serializableBuilderClass() |
Settings |
settings()
Optional settings for the transcription job.
|
TranscriptionJob.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
Transcript |
transcript()
An object that describes the output of the transcription job.
|
String |
transcriptionJobName()
The name of the transcription job.
|
TranscriptionJobStatus |
transcriptionJobStatus()
The status of the transcription job.
|
String |
transcriptionJobStatusAsString()
The status of the transcription job.
|
copypublic String transcriptionJobName()
The name of the transcription job.
public TranscriptionJobStatus transcriptionJobStatus()
The status of the transcription job.
If the service returns an enum value that is not available in the current SDK version,
transcriptionJobStatus will return TranscriptionJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from transcriptionJobStatusAsString().
TranscriptionJobStatuspublic String transcriptionJobStatusAsString()
The status of the transcription job.
If the service returns an enum value that is not available in the current SDK version,
transcriptionJobStatus will return TranscriptionJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from transcriptionJobStatusAsString().
TranscriptionJobStatuspublic LanguageCode languageCode()
The language code for the input speech.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic String languageCodeAsString()
The language code for the input speech.
If the service returns an enum value that is not available in the current SDK version, languageCode will
return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
languageCodeAsString().
LanguageCodepublic Integer mediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
public MediaFormat mediaFormat()
The format of the input media file.
If the service returns an enum value that is not available in the current SDK version, mediaFormat will
return MediaFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mediaFormatAsString().
MediaFormatpublic String mediaFormatAsString()
The format of the input media file.
If the service returns an enum value that is not available in the current SDK version, mediaFormat will
return MediaFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
mediaFormatAsString().
MediaFormatpublic Media media()
An object that describes the input media for the transcription job.
public Transcript transcript()
An object that describes the output of the transcription job.
public Instant creationTime()
A timestamp that shows when the job was created.
public Instant completionTime()
A timestamp that shows when the job was completed.
public String failureReason()
If the TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed.
TranscriptionJobStatus field is FAILED, this field contains information
about why the job failed.public Settings settings()
Optional settings for the transcription job. Use these settings to turn on speaker recognition, to set the maximum number of speakers that should be identified and to specify a custom vocabulary to use when processing the transcription job.
public TranscriptionJob.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TranscriptionJob.Builder,TranscriptionJob>public static TranscriptionJob.Builder builder()
public static Class<? extends TranscriptionJob.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.