@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 name of a parallel data resource to add to the translation job.
|
TranslationSettings |
getSettings()
Settings to configure your translation output, including the option to mask profane words and phrases.
|
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 a custom terminology resource to add to the 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 name of a parallel data resource to add to the translation job.
|
void |
setSettings(TranslationSettings settings)
Settings to configure your translation output, including the option to mask profane words and phrases.
|
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 a custom terminology resource to add to the 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 name of a parallel data resource to add to the translation job.
|
StartTextTranslationJobRequest |
withParallelDataNames(String... parallelDataNames)
The name of a parallel data resource to add to the translation job.
|
StartTextTranslationJobRequest |
withSettings(TranslationSettings settings)
Settings to configure your translation output, including the option to mask profane words and phrases.
|
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 a custom terminology resource to add to the translation job.
|
StartTextTranslationJobRequest |
withTerminologyNames(String... terminologyNames)
The name of a custom terminology resource to add to the 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 information, 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 information, 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 information, 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 information, 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 information, 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 a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
public void setTerminologyNames(Collection<String> terminologyNames)
The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
terminologyNames
- The name of a custom terminology resource to add to the translation job. This resource lists examples
source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
public StartTextTranslationJobRequest withTerminologyNames(String... terminologyNames)
The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
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 a custom terminology resource to add to the translation job. This resource lists examples
source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
public StartTextTranslationJobRequest withTerminologyNames(Collection<String> terminologyNames)
The name of a custom terminology resource to add to the translation job. This resource lists examples source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
terminologyNames
- The name of a custom terminology resource to add to the translation job. This resource lists examples
source terms and the desired translation for each term.
This parameter accepts only one custom terminology resource.
For a list of available custom terminology resources, use the ListTerminologies operation.
For more information, see how-custom-terminology.
public List<String> getParallelDataNames()
The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
public void setParallelDataNames(Collection<String> parallelDataNames)
The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
parallelDataNames
- The name of a parallel data resource to add to the translation job. This resource consists of examples
that show how you want segments of text to be translated. When you add parallel data to a translation job,
you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
public StartTextTranslationJobRequest withParallelDataNames(String... parallelDataNames)
The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
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 name of a parallel data resource to add to the translation job. This resource consists of examples
that show how you want segments of text to be translated. When you add parallel data to a translation job,
you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
public StartTextTranslationJobRequest withParallelDataNames(Collection<String> parallelDataNames)
The name of a parallel data resource to add to the translation job. This resource consists of examples that show how you want segments of text to be translated. When you add parallel data to a translation job, you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
parallelDataNames
- The name of a parallel data resource to add to the translation job. This resource consists of examples
that show how you want segments of text to be translated. When you add parallel data to a translation job,
you create an Active Custom Translation job.
This parameter accepts only one parallel data resource.
Active Custom Translation jobs are priced at a higher rate than other jobs that don't use parallel data. For more information, see Amazon Translate pricing.
For a list of available parallel data resources, use the ListParallelData operation.
For more information, see customizing-translations-parallel-data.
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 void setSettings(TranslationSettings settings)
Settings to configure your translation output, including the option to mask profane words and phrases.
settings
- Settings to configure your translation output, including the option to mask profane words and phrases.public TranslationSettings getSettings()
Settings to configure your translation output, including the option to mask profane words and phrases.
public StartTextTranslationJobRequest withSettings(TranslationSettings settings)
Settings to configure your translation output, including the option to mask profane words and phrases.
settings
- Settings to configure your translation output, including the option to mask profane words and phrases.public String toString()
toString
in class Object
Object.toString()
public StartTextTranslationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()