@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartTextTranslationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartTextTranslationJobRequest() |
Modifier and Type | Method and Description |
---|---|
StartTextTranslationJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique identifier for the request.
|
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate
read access to your input data.
|
InputDataConfig |
getInputDataConfig()
Specifies the format and S3 location of the input documents for the translation job.
|
String |
getJobName()
The name of the batch translation job to be performed.
|
OutputDataConfig |
getOutputDataConfig()
Specifies the S3 folder to which your job output will be saved.
|
List<String> |
getParallelDataNames()
The names of the parallel data resources to use in the batch translation job.
|
String |
getSourceLanguageCode()
The language code of the input language.
|
List<String> |
getTargetLanguageCodes()
The language code of the output language.
|
List<String> |
getTerminologyNames()
The name of the terminology to use in the batch translation job.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique identifier for the request.
|
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate
read access to your input data.
|
void |
setInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
|
void |
setJobName(String jobName)
The name of the batch translation job to be performed.
|
void |
setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
|
void |
setParallelDataNames(Collection<String> parallelDataNames)
The names of the parallel data resources to use in the batch translation job.
|
void |
setSourceLanguageCode(String sourceLanguageCode)
The language code of the input language.
|
void |
setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the output language.
|
void |
setTerminologyNames(Collection<String> terminologyNames)
The name of the terminology to use in the batch translation job.
|
String |
toString()
Returns a string representation of this object.
|
StartTextTranslationJobRequest |
withClientToken(String clientToken)
A unique identifier for the request.
|
StartTextTranslationJobRequest |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate
read access to your input data.
|
StartTextTranslationJobRequest |
withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
|
StartTextTranslationJobRequest |
withJobName(String jobName)
The name of the batch translation job to be performed.
|
StartTextTranslationJobRequest |
withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
|
StartTextTranslationJobRequest |
withParallelDataNames(Collection<String> parallelDataNames)
The names of the parallel data resources to use in the batch translation job.
|
StartTextTranslationJobRequest |
withParallelDataNames(String... parallelDataNames)
The names of the parallel data resources to use in the batch translation job.
|
StartTextTranslationJobRequest |
withSourceLanguageCode(String sourceLanguageCode)
The language code of the input language.
|
StartTextTranslationJobRequest |
withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the output language.
|
StartTextTranslationJobRequest |
withTargetLanguageCodes(String... targetLanguageCodes)
The language code of the output language.
|
StartTextTranslationJobRequest |
withTerminologyNames(Collection<String> terminologyNames)
The name of the terminology to use in the batch translation job.
|
StartTextTranslationJobRequest |
withTerminologyNames(String... terminologyNames)
The name of the terminology to use in the batch translation job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobName(String jobName)
The name of the batch translation job to be performed.
jobName
- The name of the batch translation job to be performed.public String getJobName()
The name of the batch translation job to be performed.
public StartTextTranslationJobRequest withJobName(String jobName)
The name of the batch translation job to be performed.
jobName
- The name of the batch translation job to be performed.public void setInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
inputDataConfig
- Specifies the format and S3 location of the input documents for the translation job.public InputDataConfig getInputDataConfig()
Specifies the format and S3 location of the input documents for the translation job.
public StartTextTranslationJobRequest withInputDataConfig(InputDataConfig inputDataConfig)
Specifies the format and S3 location of the input documents for the translation job.
inputDataConfig
- Specifies the format and S3 location of the input documents for the translation job.public void setOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
outputDataConfig
- Specifies the S3 folder to which your job output will be saved.public OutputDataConfig getOutputDataConfig()
Specifies the S3 folder to which your job output will be saved.
public StartTextTranslationJobRequest withOutputDataConfig(OutputDataConfig outputDataConfig)
Specifies the S3 folder to which your job output will be saved.
outputDataConfig
- Specifies the S3 folder to which your job output will be saved.public void setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see identity-and-access-management.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon
Translate read access to your input data. For more nformation, see identity-and-access-management.public String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see identity-and-access-management.
public StartTextTranslationJobRequest withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon Translate read access to your input data. For more nformation, see identity-and-access-management.
dataAccessRoleArn
- The Amazon Resource Name (ARN) of an AWS Identity Access and Management (IAM) role that grants Amazon
Translate read access to your input data. For more nformation, see identity-and-access-management.public void setSourceLanguageCode(String sourceLanguageCode)
The language code of the input language. For a list of language codes, see what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
sourceLanguageCode
- The language code of the input language. For a list of language codes, see what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
public String getSourceLanguageCode()
The language code of the input language. For a list of language codes, see what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
Amazon Translate does not automatically detect a source language during batch translation jobs.
public StartTextTranslationJobRequest withSourceLanguageCode(String sourceLanguageCode)
The language code of the input language. For a list of language codes, see what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
sourceLanguageCode
- The language code of the input language. For a list of language codes, see what-is-languages.
Amazon Translate does not automatically detect a source language during batch translation jobs.
public List<String> getTargetLanguageCodes()
The language code of the output language.
public void setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the output language.
targetLanguageCodes
- The language code of the output language.public StartTextTranslationJobRequest withTargetLanguageCodes(String... targetLanguageCodes)
The language code of the output language.
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 output language.public StartTextTranslationJobRequest withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language code of the output language.
targetLanguageCodes
- The language code of the output language.public List<String> getTerminologyNames()
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
public void setTerminologyNames(Collection<String> terminologyNames)
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
terminologyNames
- The name of the terminology to use in the batch translation job. For a list of available terminologies,
use the ListTerminologies operation.public StartTextTranslationJobRequest withTerminologyNames(String... terminologyNames)
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
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
- The name of the terminology to use in the batch translation job. For a list of available terminologies,
use the ListTerminologies operation.public StartTextTranslationJobRequest withTerminologyNames(Collection<String> terminologyNames)
The name of the terminology to use in the batch translation job. For a list of available terminologies, use the ListTerminologies operation.
terminologyNames
- The name of the terminology to use in the batch translation job. For a list of available terminologies,
use the ListTerminologies operation.public List<String> getParallelDataNames()
The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
public void setParallelDataNames(Collection<String> parallelDataNames)
The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
parallelDataNames
- The names of the parallel data resources to use in the batch translation job. For a list of available
parallel data resources, use the ListParallelData operation.public StartTextTranslationJobRequest withParallelDataNames(String... parallelDataNames)
The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
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
- The names of the parallel data resources to use in the batch translation job. For a list of available
parallel data resources, use the ListParallelData operation.public StartTextTranslationJobRequest withParallelDataNames(Collection<String> parallelDataNames)
The names of the parallel data resources to use in the batch translation job. For a list of available parallel data resources, use the ListParallelData operation.
parallelDataNames
- The names of the parallel data resources to use in the batch translation job. For a list of available
parallel data resources, use the ListParallelData operation.public void setClientToken(String clientToken)
A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.
clientToken
- A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.public String getClientToken()
A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.
public StartTextTranslationJobRequest withClientToken(String clientToken)
A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.
clientToken
- A unique identifier for the request. This token is auto-generated when using the Amazon Translate SDK.public String toString()
toString
in class Object
Object.toString()
public StartTextTranslationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()