@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TranscriptionJob extends Object implements Serializable, Cloneable, StructuredPojo
Describes an asynchronous transcription job that was created with the StartTranscriptionJob operation.
| Constructor and Description |
|---|
TranscriptionJob() |
| Modifier and Type | Method and Description |
|---|---|
TranscriptionJob |
clone() |
boolean |
equals(Object obj) |
Date |
getCompletionTime()
Timestamp of the date and time that the job completed.
|
Date |
getCreationTime()
Timestamp of the date and time that the job was created.
|
String |
getFailureReason()
If the
TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed. |
String |
getLanguageCode()
The language code for the input speech.
|
Media |
getMedia()
An object that describes the input media for a transcription job.
|
String |
getMediaFormat()
The format of the input media file.
|
Integer |
getMediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
|
Transcript |
getTranscript()
An object that describes the output of the transcription job.
|
String |
getTranscriptionJobName()
A name to identify the transcription job.
|
String |
getTranscriptionJobStatus()
The identifier assigned to the job when it was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCompletionTime(Date completionTime)
Timestamp of the date and time that the job completed.
|
void |
setCreationTime(Date creationTime)
Timestamp of the date and time that the job was created.
|
void |
setFailureReason(String failureReason)
If the
TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed. |
void |
setLanguageCode(String languageCode)
The language code for the input speech.
|
void |
setMedia(Media media)
An object that describes the input media for a transcription job.
|
void |
setMediaFormat(String mediaFormat)
The format of the input media file.
|
void |
setMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
void |
setTranscript(Transcript transcript)
An object that describes the output of the transcription job.
|
void |
setTranscriptionJobName(String transcriptionJobName)
A name to identify the transcription job.
|
void |
setTranscriptionJobStatus(String transcriptionJobStatus)
The identifier assigned to the job when it was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TranscriptionJob |
withCompletionTime(Date completionTime)
Timestamp of the date and time that the job completed.
|
TranscriptionJob |
withCreationTime(Date creationTime)
Timestamp of the date and time that the job was created.
|
TranscriptionJob |
withFailureReason(String failureReason)
If the
TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed. |
TranscriptionJob |
withLanguageCode(LanguageCode languageCode)
The language code for the input speech.
|
TranscriptionJob |
withLanguageCode(String languageCode)
The language code for the input speech.
|
TranscriptionJob |
withMedia(Media media)
An object that describes the input media for a transcription job.
|
TranscriptionJob |
withMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
TranscriptionJob |
withMediaFormat(String mediaFormat)
The format of the input media file.
|
TranscriptionJob |
withMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
TranscriptionJob |
withTranscript(Transcript transcript)
An object that describes the output of the transcription job.
|
TranscriptionJob |
withTranscriptionJobName(String transcriptionJobName)
A name to identify the transcription job.
|
TranscriptionJob |
withTranscriptionJobStatus(String transcriptionJobStatus)
The identifier assigned to the job when it was created.
|
TranscriptionJob |
withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The identifier assigned to the job when it was created.
|
public void setTranscriptionJobName(String transcriptionJobName)
A name to identify the transcription job.
transcriptionJobName - A name to identify the transcription job.public String getTranscriptionJobName()
A name to identify the transcription job.
public TranscriptionJob withTranscriptionJobName(String transcriptionJobName)
A name to identify the transcription job.
transcriptionJobName - A name to identify the transcription job.public void setTranscriptionJobStatus(String transcriptionJobStatus)
The identifier assigned to the job when it was created.
transcriptionJobStatus - The identifier assigned to the job when it was created.TranscriptionJobStatuspublic String getTranscriptionJobStatus()
The identifier assigned to the job when it was created.
TranscriptionJobStatuspublic TranscriptionJob withTranscriptionJobStatus(String transcriptionJobStatus)
The identifier assigned to the job when it was created.
transcriptionJobStatus - The identifier assigned to the job when it was created.TranscriptionJobStatuspublic TranscriptionJob withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The identifier assigned to the job when it was created.
transcriptionJobStatus - The identifier assigned to the job when it was created.TranscriptionJobStatuspublic void setLanguageCode(String languageCode)
The language code for the input speech.
languageCode - The language code for the input speech.LanguageCodepublic String getLanguageCode()
The language code for the input speech.
LanguageCodepublic TranscriptionJob withLanguageCode(String languageCode)
The language code for the input speech.
languageCode - The language code for the input speech.LanguageCodepublic TranscriptionJob withLanguageCode(LanguageCode languageCode)
The language code for the input speech.
languageCode - The language code for the input speech.LanguageCodepublic void setMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
mediaSampleRateHertz - The sample rate, in Hertz, of the audio track in the input media file.public Integer getMediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
public TranscriptionJob withMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
mediaSampleRateHertz - The sample rate, in Hertz, of the audio track in the input media file.public void setMediaFormat(String mediaFormat)
The format of the input media file.
mediaFormat - The format of the input media file.MediaFormatpublic String getMediaFormat()
The format of the input media file.
MediaFormatpublic TranscriptionJob withMediaFormat(String mediaFormat)
The format of the input media file.
mediaFormat - The format of the input media file.MediaFormatpublic TranscriptionJob withMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
mediaFormat - The format of the input media file.MediaFormatpublic void setMedia(Media media)
An object that describes the input media for a transcription job.
media - An object that describes the input media for a transcription job.public Media getMedia()
An object that describes the input media for a transcription job.
public TranscriptionJob withMedia(Media media)
An object that describes the input media for a transcription job.
media - An object that describes the input media for a transcription job.public void setTranscript(Transcript transcript)
An object that describes the output of the transcription job.
transcript - An object that describes the output of the transcription job.public Transcript getTranscript()
An object that describes the output of the transcription job.
public TranscriptionJob withTranscript(Transcript transcript)
An object that describes the output of the transcription job.
transcript - An object that describes the output of the transcription job.public void setCreationTime(Date creationTime)
Timestamp of the date and time that the job was created.
creationTime - Timestamp of the date and time that the job was created.public Date getCreationTime()
Timestamp of the date and time that the job was created.
public TranscriptionJob withCreationTime(Date creationTime)
Timestamp of the date and time that the job was created.
creationTime - Timestamp of the date and time that the job was created.public void setCompletionTime(Date completionTime)
Timestamp of the date and time that the job completed.
completionTime - Timestamp of the date and time that the job completed.public Date getCompletionTime()
Timestamp of the date and time that the job completed.
public TranscriptionJob withCompletionTime(Date completionTime)
Timestamp of the date and time that the job completed.
completionTime - Timestamp of the date and time that the job completed.public void setFailureReason(String failureReason)
If the TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed.
failureReason - If the TranscriptionJobStatus field is FAILED, this field contains information
about why the job failed.public String getFailureReason()
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 TranscriptionJob withFailureReason(String failureReason)
If the TranscriptionJobStatus field is FAILED, this field contains information about
why the job failed.
failureReason - If the TranscriptionJobStatus field is FAILED, this field contains information
about why the job failed.public String toString()
toString in class ObjectObject.toString()public TranscriptionJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.