@Generated(value="software.amazon.awssdk:codegen") public final class TextTranslationJobProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TextTranslationJobProperties.Builder,TextTranslationJobProperties>
Provides information about a translation job.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TextTranslationJobProperties.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TextTranslationJobProperties.Builder |
builder() |
String |
dataAccessRoleArn()
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate
read access to the job's input data.
|
Instant |
endTime()
The time at which the translation job ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasParallelDataNames()
Returns true if the ParallelDataNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTargetLanguageCodes()
Returns true if the TargetLanguageCodes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasTerminologyNames()
Returns true if the TerminologyNames property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
InputDataConfig |
inputDataConfig()
The input configuration properties that were specified when the job was requested.
|
JobDetails |
jobDetails()
The number of documents successfully and unsuccessfully processed during the translation job.
|
String |
jobId()
The ID of the translation job.
|
String |
jobName()
The user-defined name of the translation job.
|
JobStatus |
jobStatus()
The status of the translation job.
|
String |
jobStatusAsString()
The status of the translation job.
|
String |
message()
An explanation of any errors that may have occured during the translation job.
|
OutputDataConfig |
outputDataConfig()
The output configuration properties that were specified when the job was requested.
|
List<String> |
parallelDataNames()
A list containing the names of the parallel data resources applied to the translation job.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TextTranslationJobProperties.Builder> |
serializableBuilderClass() |
String |
sourceLanguageCode()
The language code of the language of the source text.
|
Instant |
submittedTime()
The time at which the translation job was submitted.
|
List<String> |
targetLanguageCodes()
The language code of the language of the target text.
|
List<String> |
terminologyNames()
A list containing the names of the terminologies applied to a translation job.
|
TextTranslationJobProperties.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobId()
The ID of the translation job.
public final String jobName()
The user-defined name of the translation job.
public final JobStatus jobStatus()
The status of the translation job.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
JobStatuspublic final String jobStatusAsString()
The status of the translation job.
If the service returns an enum value that is not available in the current SDK version, jobStatus will
return JobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
jobStatusAsString().
JobStatuspublic final JobDetails jobDetails()
The number of documents successfully and unsuccessfully processed during the translation job.
public final String sourceLanguageCode()
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
public final boolean hasTargetLanguageCodes()
public final List<String> targetLanguageCodes()
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTargetLanguageCodes() to see if a value was sent in this field.
public final boolean hasTerminologyNames()
public final List<String> terminologyNames()
A list containing the names of the terminologies applied to a translation job. Only one terminology can be applied per StartTextTranslationJob request at this time.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTerminologyNames() to see if a value was sent in this field.
public final boolean hasParallelDataNames()
public final List<String> parallelDataNames()
A list containing the names of the parallel data resources applied to the translation job.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasParallelDataNames() to see if a value was sent in this field.
public final String message()
An explanation of any errors that may have occured during the translation job.
public final Instant submittedTime()
The time at which the translation job was submitted.
public final Instant endTime()
The time at which the translation job ended.
public final InputDataConfig inputDataConfig()
The input configuration properties that were specified when the job was requested.
public final OutputDataConfig outputDataConfig()
The output configuration properties that were specified when the job was requested.
public final String dataAccessRoleArn()
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that granted Amazon Translate read access to the job's input data.
public TextTranslationJobProperties.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TextTranslationJobProperties.Builder,TextTranslationJobProperties>public static TextTranslationJobProperties.Builder builder()
public static Class<? extends TextTranslationJobProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.