@Generated(value="software.amazon.awssdk:codegen") public final class TranscriptionJobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TranscriptionJobSummary.Builder,TranscriptionJobSummary>
Provides a summary of information about a transcription job. 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 |
TranscriptionJobSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TranscriptionJobSummary.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, a description of the error. |
<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.
|
OutputLocationType |
outputLocationType()
Indicates the location of the output of the transcription job.
|
String |
outputLocationTypeAsString()
Indicates the location of the output of the transcription job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TranscriptionJobSummary.Builder> |
serializableBuilderClass() |
TranscriptionJobSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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 Instant creationTime()
A timestamp that shows when the job was created.
public Instant completionTime()
A timestamp that shows when the job was completed.
public 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 TranscriptionJobStatus transcriptionJobStatus()
The status of the transcription job. When the status is COMPLETED, use the
GetTranscriptionJob operation to get the results of the transcription.
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().
COMPLETED, use the
GetTranscriptionJob operation to get the results of the transcription.TranscriptionJobStatuspublic String transcriptionJobStatusAsString()
The status of the transcription job. When the status is COMPLETED, use the
GetTranscriptionJob operation to get the results of the transcription.
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().
COMPLETED, use the
GetTranscriptionJob operation to get the results of the transcription.TranscriptionJobStatuspublic String failureReason()
If the TranscriptionJobStatus field is FAILED, a description of the error.
TranscriptionJobStatus field is FAILED, a description of the error.public 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.
If the service returns an enum value that is not available in the current SDK version,
outputLocationType will return OutputLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from outputLocationTypeAsString().
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 outputLocationTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
outputLocationType will return OutputLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from outputLocationTypeAsString().
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.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<TranscriptionJobSummary.Builder,TranscriptionJobSummary>public static TranscriptionJobSummary.Builder builder()
public static Class<? extends TranscriptionJobSummary.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.