@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()
For responses, this returns true if the service returned a value for the ParallelDataNames property.
|
boolean |
hasTargetLanguageCodes()
For responses, this returns true if the service returned a value for the TargetLanguageCodes property.
|
boolean |
hasTerminologyNames()
For responses, this returns true if the service returned a value for the TerminologyNames property.
|
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTargetLanguageCodes() method.
public final boolean hasTerminologyNames()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTerminologyNames() method.
public final boolean hasParallelDataNames()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasParallelDataNames() method.
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.