@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 |
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<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 String jobId()
The ID of the translation job.
public String jobName()
The user-defined name of the translation job.
public 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 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 JobDetails jobDetails()
The number of documents successfully and unsuccessfully processed during the translation job.
public String sourceLanguageCode()
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
public boolean hasTargetLanguageCodes()
public 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 boolean hasTerminologyNames()
public 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 String message()
An explanation of any errors that may have occured during the translation job.
public Instant submittedTime()
The time at which the translation job was submitted.
public Instant endTime()
The time at which the translation job ended.
public InputDataConfig inputDataConfig()
The input configuration properties that were specified when the job was requested.
public OutputDataConfig outputDataConfig()
The output configuration properties that were specified when the job was requested.
public 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 boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.