public class TranscriptionJobSummary extends Object implements Serializable
Provides a summary of information about a transcription job. .
| Constructor and Description |
|---|
TranscriptionJobSummary() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getCompletionTime()
A timestamp that shows when the job was completed.
|
Date |
getCreationTime()
A timestamp that shows when the job was created.
|
String |
getFailureReason()
If the
TranscriptionJobStatus field is FAILED,
a description of the error. |
String |
getLanguageCode()
The language code for the input speech.
|
String |
getOutputLocationType()
Indicates the location of the output of the transcription job.
|
String |
getTranscriptionJobName()
The name of the transcription job.
|
String |
getTranscriptionJobStatus()
The status of the transcription job.
|
int |
hashCode() |
void |
setCompletionTime(Date completionTime)
A timestamp that shows when the job was completed.
|
void |
setCreationTime(Date creationTime)
A timestamp that shows when the job was created.
|
void |
setFailureReason(String failureReason)
If the
TranscriptionJobStatus field is FAILED,
a description of the error. |
void |
setLanguageCode(LanguageCode languageCode)
The language code for the input speech.
|
void |
setLanguageCode(String languageCode)
The language code for the input speech.
|
void |
setOutputLocationType(OutputLocationType outputLocationType)
Indicates the location of the output of the transcription job.
|
void |
setOutputLocationType(String outputLocationType)
Indicates the location of the output of the transcription job.
|
void |
setTranscriptionJobName(String transcriptionJobName)
The name of the transcription job.
|
void |
setTranscriptionJobStatus(String transcriptionJobStatus)
The status of the transcription job.
|
void |
setTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TranscriptionJobSummary |
withCompletionTime(Date completionTime)
A timestamp that shows when the job was completed.
|
TranscriptionJobSummary |
withCreationTime(Date creationTime)
A timestamp that shows when the job was created.
|
TranscriptionJobSummary |
withFailureReason(String failureReason)
If the
TranscriptionJobStatus field is FAILED,
a description of the error. |
TranscriptionJobSummary |
withLanguageCode(LanguageCode languageCode)
The language code for the input speech.
|
TranscriptionJobSummary |
withLanguageCode(String languageCode)
The language code for the input speech.
|
TranscriptionJobSummary |
withOutputLocationType(OutputLocationType outputLocationType)
Indicates the location of the output of the transcription job.
|
TranscriptionJobSummary |
withOutputLocationType(String outputLocationType)
Indicates the location of the output of the transcription job.
|
TranscriptionJobSummary |
withTranscriptionJobName(String transcriptionJobName)
The name of the transcription job.
|
TranscriptionJobSummary |
withTranscriptionJobStatus(String transcriptionJobStatus)
The status of the transcription job.
|
TranscriptionJobSummary |
withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
|
public String getTranscriptionJobName()
The name of the transcription job.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the transcription job.
public void setTranscriptionJobName(String transcriptionJobName)
The name of the transcription job.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
transcriptionJobName - The name of the transcription job.
public TranscriptionJobSummary withTranscriptionJobName(String transcriptionJobName)
The name of the transcription job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
transcriptionJobName - The name of the transcription job.
public Date getCreationTime()
A timestamp that shows when the job was created.
A timestamp that shows when the job was created.
public void setCreationTime(Date creationTime)
A timestamp that shows when the job was created.
creationTime - A timestamp that shows when the job was created.
public TranscriptionJobSummary withCreationTime(Date creationTime)
A timestamp that shows when the job was created.
Returns a reference to this object so that method calls can be chained together.
creationTime - A timestamp that shows when the job was created.
public Date getCompletionTime()
A timestamp that shows when the job was completed.
A timestamp that shows when the job was completed.
public void setCompletionTime(Date completionTime)
A timestamp that shows when the job was completed.
completionTime - A timestamp that shows when the job was completed.
public TranscriptionJobSummary withCompletionTime(Date completionTime)
A timestamp that shows when the job was completed.
Returns a reference to this object so that method calls can be chained together.
completionTime - A timestamp that shows when the job was completed.
public String getLanguageCode()
The language code for the input speech.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
The language code for the input speech.
LanguageCodepublic void setLanguageCode(String languageCode)
The language code for the input speech.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the input speech.
LanguageCodepublic TranscriptionJobSummary withLanguageCode(String languageCode)
The language code for the input speech.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the input speech.
LanguageCodepublic void setLanguageCode(LanguageCode languageCode)
The language code for the input speech.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the input speech.
LanguageCodepublic TranscriptionJobSummary withLanguageCode(LanguageCode languageCode)
The language code for the input speech.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the input speech.
LanguageCodepublic String getTranscriptionJobStatus()
The status of the transcription job. When the status is
COMPLETED, use the GetTranscriptionJob
operation to get the results of the transcription.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
The status of the transcription job. When the status is
COMPLETED, use the GetTranscriptionJob
operation to get the results of the transcription.
TranscriptionJobStatuspublic void setTranscriptionJobStatus(String transcriptionJobStatus)
The status of the transcription job. When the status is
COMPLETED, use the GetTranscriptionJob
operation to get the results of the transcription.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus -
The status of the transcription job. When the status is
COMPLETED, use the
GetTranscriptionJob operation to get the results
of the transcription.
TranscriptionJobStatuspublic TranscriptionJobSummary withTranscriptionJobStatus(String transcriptionJobStatus)
The status of the transcription job. When the status is
COMPLETED, use the GetTranscriptionJob
operation to get the results of the transcription.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus -
The status of the transcription job. When the status is
COMPLETED, use the
GetTranscriptionJob operation to get the results
of the transcription.
TranscriptionJobStatuspublic void setTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job. When the status is
COMPLETED, use the GetTranscriptionJob
operation to get the results of the transcription.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus -
The status of the transcription job. When the status is
COMPLETED, use the
GetTranscriptionJob operation to get the results
of the transcription.
TranscriptionJobStatuspublic TranscriptionJobSummary withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job. When the status is
COMPLETED, use the GetTranscriptionJob
operation to get the results of the transcription.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus -
The status of the transcription job. When the status is
COMPLETED, use the
GetTranscriptionJob operation to get the results
of the transcription.
TranscriptionJobStatuspublic String getFailureReason()
If the TranscriptionJobStatus field is FAILED,
a description of the error.
If the TranscriptionJobStatus field is
FAILED, a description of the error.
public void setFailureReason(String failureReason)
If the TranscriptionJobStatus field is FAILED,
a description of the error.
failureReason -
If the TranscriptionJobStatus field is
FAILED, a description of the error.
public TranscriptionJobSummary withFailureReason(String failureReason)
If the TranscriptionJobStatus field is FAILED,
a description of the error.
Returns a reference to this object so that method calls can be chained together.
failureReason -
If the TranscriptionJobStatus field is
FAILED, a description of the error.
public String getOutputLocationType()
Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location is the S3
bucket specified in the outputBucketName field when the
transcription job was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is stored by
Amazon Transcribe and can be retrieved using the URI in the
GetTranscriptionJob response's
TranscriptFileUri field.
Constraints:
Allowed Values: CUSTOMER_BUCKET, SERVICE_BUCKET
Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location is
the S3 bucket specified in the outputBucketName
field when the transcription job was started with the
StartTranscriptionJob operation.
If the value is SERVICE_BUCKET then the output is
stored by Amazon Transcribe and can be retrieved using the URI in
the GetTranscriptionJob response's
TranscriptFileUri field.
OutputLocationTypepublic void setOutputLocationType(String outputLocationType)
Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location is the S3
bucket specified in the outputBucketName field when the
transcription job was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is stored by
Amazon Transcribe and can be retrieved using the URI in the
GetTranscriptionJob response's
TranscriptFileUri field.
Constraints:
Allowed Values: CUSTOMER_BUCKET, SERVICE_BUCKET
outputLocationType - Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location
is the S3 bucket specified in the
outputBucketName field when the transcription job
was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is
stored by Amazon Transcribe and can be retrieved using the URI
in the GetTranscriptionJob response's
TranscriptFileUri field.
OutputLocationTypepublic TranscriptionJobSummary withOutputLocationType(String outputLocationType)
Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location is the S3
bucket specified in the outputBucketName field when the
transcription job was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is stored by
Amazon Transcribe and can be retrieved using the URI in the
GetTranscriptionJob response's
TranscriptFileUri field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CUSTOMER_BUCKET, SERVICE_BUCKET
outputLocationType - Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location
is the S3 bucket specified in the
outputBucketName field when the transcription job
was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is
stored by Amazon Transcribe and can be retrieved using the URI
in the GetTranscriptionJob response's
TranscriptFileUri field.
OutputLocationTypepublic void setOutputLocationType(OutputLocationType outputLocationType)
Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location is the S3
bucket specified in the outputBucketName field when the
transcription job was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is stored by
Amazon Transcribe and can be retrieved using the URI in the
GetTranscriptionJob response's
TranscriptFileUri field.
Constraints:
Allowed Values: CUSTOMER_BUCKET, SERVICE_BUCKET
outputLocationType - Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location
is the S3 bucket specified in the
outputBucketName field when the transcription job
was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is
stored by Amazon Transcribe and can be retrieved using the URI
in the GetTranscriptionJob response's
TranscriptFileUri field.
OutputLocationTypepublic TranscriptionJobSummary withOutputLocationType(OutputLocationType outputLocationType)
Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location is the S3
bucket specified in the outputBucketName field when the
transcription job was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is stored by
Amazon Transcribe and can be retrieved using the URI in the
GetTranscriptionJob response's
TranscriptFileUri field.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CUSTOMER_BUCKET, SERVICE_BUCKET
outputLocationType - Indicates the location of the output of the transcription job.
If the value is CUSTOMER_BUCKET then the location
is the S3 bucket specified in the
outputBucketName field when the transcription job
was started with the StartTranscriptionJob
operation.
If the value is SERVICE_BUCKET then the output is
stored by Amazon Transcribe and can be retrieved using the URI
in the GetTranscriptionJob response's
TranscriptFileUri field.
OutputLocationTypepublic String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.