@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextTranslationJobProperties extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a translation job.
Constructor and Description |
---|
TextTranslationJobProperties() |
Modifier and Type | Method and Description |
---|---|
TextTranslationJobProperties |
clone() |
boolean |
equals(Object obj) |
String |
getDataAccessRoleArn()
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.
|
Date |
getEndTime()
The time at which the translation job ended.
|
InputDataConfig |
getInputDataConfig()
The input configuration properties that were specified when the job was requested.
|
JobDetails |
getJobDetails()
The number of documents successfully and unsuccessfully processed during the translation job.
|
String |
getJobId()
The ID of the translation job.
|
String |
getJobName()
The user-defined name of the translation job.
|
String |
getJobStatus()
The status of the translation job.
|
String |
getMessage()
An explanation of any errors that may have occurred during the translation job.
|
OutputDataConfig |
getOutputDataConfig()
The output configuration properties that were specified when the job was requested.
|
List<String> |
getParallelDataNames()
A list containing the names of the parallel data resources applied to the translation job.
|
TranslationSettings |
getSettings()
Settings that modify the translation output.
|
String |
getSourceLanguageCode()
The language code of the language of the source text.
|
Date |
getSubmittedTime()
The time at which the translation job was submitted.
|
List<String> |
getTargetLanguageCodes()
The language code of the language of the target text.
|
List<String> |
getTerminologyNames()
A list containing the names of the terminologies applied to a translation job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataAccessRoleArn(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.
|
void |
setEndTime(Date endTime)
The time at which the translation job ended.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
The input configuration properties that were specified when the job was requested.
|
void |
setJobDetails(JobDetails jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
|
void |
setJobId(String jobId)
The ID of the translation job.
|
void |
setJobName(String jobName)
The user-defined name of the translation job.
|
void |
setJobStatus(String jobStatus)
The status of the translation job.
|
void |
setMessage(String message)
An explanation of any errors that may have occurred during the translation job.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
The output configuration properties that were specified when the job was requested.
|
void |
setParallelDataNames(Collection<String> parallelDataNames)
A list containing the names of the parallel data resources applied to the translation job.
|
void |
setSettings(TranslationSettings settings)
Settings that modify the translation output.
|
void |
setSourceLanguageCode(String sourceLanguageCode)
The language code of the language of the source text.
|
void |
setSubmittedTime(Date submittedTime)
The time at which the translation job was submitted.
|
void |
setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the language of the target text.
|
void |
setTerminologyNames(Collection<String> terminologyNames)
A list containing the names of the terminologies applied to a translation job.
|
String |
toString()
Returns a string representation of this object.
|
TextTranslationJobProperties |
withDataAccessRoleArn(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.
|
TextTranslationJobProperties |
withEndTime(Date endTime)
The time at which the translation job ended.
|
TextTranslationJobProperties |
withInputDataConfig(InputDataConfig inputDataConfig)
The input configuration properties that were specified when the job was requested.
|
TextTranslationJobProperties |
withJobDetails(JobDetails jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
|
TextTranslationJobProperties |
withJobId(String jobId)
The ID of the translation job.
|
TextTranslationJobProperties |
withJobName(String jobName)
The user-defined name of the translation job.
|
TextTranslationJobProperties |
withJobStatus(JobStatus jobStatus)
The status of the translation job.
|
TextTranslationJobProperties |
withJobStatus(String jobStatus)
The status of the translation job.
|
TextTranslationJobProperties |
withMessage(String message)
An explanation of any errors that may have occurred during the translation job.
|
TextTranslationJobProperties |
withOutputDataConfig(OutputDataConfig outputDataConfig)
The output configuration properties that were specified when the job was requested.
|
TextTranslationJobProperties |
withParallelDataNames(Collection<String> parallelDataNames)
A list containing the names of the parallel data resources applied to the translation job.
|
TextTranslationJobProperties |
withParallelDataNames(String... parallelDataNames)
A list containing the names of the parallel data resources applied to the translation job.
|
TextTranslationJobProperties |
withSettings(TranslationSettings settings)
Settings that modify the translation output.
|
TextTranslationJobProperties |
withSourceLanguageCode(String sourceLanguageCode)
The language code of the language of the source text.
|
TextTranslationJobProperties |
withSubmittedTime(Date submittedTime)
The time at which the translation job was submitted.
|
TextTranslationJobProperties |
withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the language of the target text.
|
TextTranslationJobProperties |
withTargetLanguageCodes(String... targetLanguageCodes)
The language code of the language of the target text.
|
TextTranslationJobProperties |
withTerminologyNames(Collection<String> terminologyNames)
A list containing the names of the terminologies applied to a translation job.
|
TextTranslationJobProperties |
withTerminologyNames(String... terminologyNames)
A list containing the names of the terminologies applied to a translation job.
|
public void setJobId(String jobId)
The ID of the translation job.
jobId
- The ID of the translation job.public String getJobId()
The ID of the translation job.
public TextTranslationJobProperties withJobId(String jobId)
The ID of the translation job.
jobId
- The ID of the translation job.public void setJobName(String jobName)
The user-defined name of the translation job.
jobName
- The user-defined name of the translation job.public String getJobName()
The user-defined name of the translation job.
public TextTranslationJobProperties withJobName(String jobName)
The user-defined name of the translation job.
jobName
- The user-defined name of the translation job.public void setJobStatus(String jobStatus)
The status of the translation job.
jobStatus
- The status of the translation job.JobStatus
public String getJobStatus()
The status of the translation job.
JobStatus
public TextTranslationJobProperties withJobStatus(String jobStatus)
The status of the translation job.
jobStatus
- The status of the translation job.JobStatus
public TextTranslationJobProperties withJobStatus(JobStatus jobStatus)
The status of the translation job.
jobStatus
- The status of the translation job.JobStatus
public void setJobDetails(JobDetails jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
jobDetails
- The number of documents successfully and unsuccessfully processed during the translation job.public JobDetails getJobDetails()
The number of documents successfully and unsuccessfully processed during the translation job.
public TextTranslationJobProperties withJobDetails(JobDetails jobDetails)
The number of documents successfully and unsuccessfully processed during the translation job.
jobDetails
- The number of documents successfully and unsuccessfully processed during the translation job.public void setSourceLanguageCode(String sourceLanguageCode)
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
sourceLanguageCode
- The language code of the language of the source text. The language must be a language supported by Amazon
Translate.public String getSourceLanguageCode()
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
public TextTranslationJobProperties withSourceLanguageCode(String sourceLanguageCode)
The language code of the language of the source text. The language must be a language supported by Amazon Translate.
sourceLanguageCode
- The language code of the language of the source text. The language must be a language supported by Amazon
Translate.public List<String> getTargetLanguageCodes()
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
public void setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
targetLanguageCodes
- The language code of the language of the target text. The language must be a language supported by Amazon
Translate.public TextTranslationJobProperties withTargetLanguageCodes(String... targetLanguageCodes)
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
NOTE: This method appends the values to the existing list (if any). Use
setTargetLanguageCodes(java.util.Collection)
or withTargetLanguageCodes(java.util.Collection)
if you want to override the existing values.
targetLanguageCodes
- The language code of the language of the target text. The language must be a language supported by Amazon
Translate.public TextTranslationJobProperties withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the language of the target text. The language must be a language supported by Amazon Translate.
targetLanguageCodes
- The language code of the language of the target text. The language must be a language supported by Amazon
Translate.public List<String> getTerminologyNames()
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.
public void setTerminologyNames(Collection<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.
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.public TextTranslationJobProperties withTerminologyNames(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.
NOTE: This method appends the values to the existing list (if any). Use
setTerminologyNames(java.util.Collection)
or withTerminologyNames(java.util.Collection)
if you
want to override the existing values.
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.public TextTranslationJobProperties withTerminologyNames(Collection<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.
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.public List<String> getParallelDataNames()
A list containing the names of the parallel data resources applied to the translation job.
public void setParallelDataNames(Collection<String> parallelDataNames)
A list containing the names of the parallel data resources applied to the translation job.
parallelDataNames
- A list containing the names of the parallel data resources applied to the translation job.public TextTranslationJobProperties withParallelDataNames(String... parallelDataNames)
A list containing the names of the parallel data resources applied to the translation job.
NOTE: This method appends the values to the existing list (if any). Use
setParallelDataNames(java.util.Collection)
or withParallelDataNames(java.util.Collection)
if
you want to override the existing values.
parallelDataNames
- A list containing the names of the parallel data resources applied to the translation job.public TextTranslationJobProperties withParallelDataNames(Collection<String> parallelDataNames)
A list containing the names of the parallel data resources applied to the translation job.
parallelDataNames
- A list containing the names of the parallel data resources applied to the translation job.public void setMessage(String message)
An explanation of any errors that may have occurred during the translation job.
message
- An explanation of any errors that may have occurred during the translation job.public String getMessage()
An explanation of any errors that may have occurred during the translation job.
public TextTranslationJobProperties withMessage(String message)
An explanation of any errors that may have occurred during the translation job.
message
- An explanation of any errors that may have occurred during the translation job.public void setSubmittedTime(Date submittedTime)
The time at which the translation job was submitted.
submittedTime
- The time at which the translation job was submitted.public Date getSubmittedTime()
The time at which the translation job was submitted.
public TextTranslationJobProperties withSubmittedTime(Date submittedTime)
The time at which the translation job was submitted.
submittedTime
- The time at which the translation job was submitted.public void setEndTime(Date endTime)
The time at which the translation job ended.
endTime
- The time at which the translation job ended.public Date getEndTime()
The time at which the translation job ended.
public TextTranslationJobProperties withEndTime(Date endTime)
The time at which the translation job ended.
endTime
- The time at which the translation job ended.public void setInputDataConfig(InputDataConfig inputDataConfig)
The input configuration properties that were specified when the job was requested.
inputDataConfig
- The input configuration properties that were specified when the job was requested.public InputDataConfig getInputDataConfig()
The input configuration properties that were specified when the job was requested.
public TextTranslationJobProperties withInputDataConfig(InputDataConfig inputDataConfig)
The input configuration properties that were specified when the job was requested.
inputDataConfig
- The input configuration properties that were specified when the job was requested.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
The output configuration properties that were specified when the job was requested.
outputDataConfig
- The output configuration properties that were specified when the job was requested.public OutputDataConfig getOutputDataConfig()
The output configuration properties that were specified when the job was requested.
public TextTranslationJobProperties withOutputDataConfig(OutputDataConfig outputDataConfig)
The output configuration properties that were specified when the job was requested.
outputDataConfig
- The output configuration properties that were specified when the job was requested.public void setDataAccessRoleArn(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.
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 String getDataAccessRoleArn()
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 withDataAccessRoleArn(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.
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 void setSettings(TranslationSettings settings)
Settings that modify the translation output.
settings
- Settings that modify the translation output.public TranslationSettings getSettings()
Settings that modify the translation output.
public TextTranslationJobProperties withSettings(TranslationSettings settings)
Settings that modify the translation output.
settings
- Settings that modify the translation output.public String toString()
toString
in class Object
Object.toString()
public TextTranslationJobProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.