public static interface ParallelDataProperties.Builder extends SdkPojo, CopyableBuilder<ParallelDataProperties.Builder,ParallelDataProperties>
| Modifier and Type | Method and Description |
|---|---|
ParallelDataProperties.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the parallel data resource.
|
ParallelDataProperties.Builder |
createdAt(Instant createdAt)
The time at which the parallel data resource was created.
|
ParallelDataProperties.Builder |
description(String description)
The description assigned to the parallel data resource.
|
default ParallelDataProperties.Builder |
encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
Sets the value of the EncryptionKey property for this object.
|
ParallelDataProperties.Builder |
encryptionKey(EncryptionKey encryptionKey)
Sets the value of the EncryptionKey property for this object.
|
ParallelDataProperties.Builder |
failedRecordCount(Long failedRecordCount)
The number of records unsuccessfully imported from the parallel data input file.
|
ParallelDataProperties.Builder |
importedDataSize(Long importedDataSize)
The number of UTF-8 characters that Amazon Translate imported from the parallel data input file.
|
ParallelDataProperties.Builder |
importedRecordCount(Long importedRecordCount)
The number of records successfully imported from the parallel data input file.
|
ParallelDataProperties.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time at which the parallel data resource was last updated.
|
ParallelDataProperties.Builder |
latestUpdateAttemptAt(Instant latestUpdateAttemptAt)
The time that the most recent update was attempted.
|
ParallelDataProperties.Builder |
latestUpdateAttemptStatus(ParallelDataStatus latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
|
ParallelDataProperties.Builder |
latestUpdateAttemptStatus(String latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
|
ParallelDataProperties.Builder |
message(String message)
Additional information from Amazon Translate about the parallel data resource.
|
ParallelDataProperties.Builder |
name(String name)
The custom name assigned to the parallel data resource.
|
default ParallelDataProperties.Builder |
parallelDataConfig(Consumer<ParallelDataConfig.Builder> parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
ParallelDataProperties.Builder |
parallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
ParallelDataProperties.Builder |
skippedRecordCount(Long skippedRecordCount)
The number of items in the input file that Amazon Translate skipped when you created or updated the parallel
data resource.
|
ParallelDataProperties.Builder |
sourceLanguageCode(String sourceLanguageCode)
The source language of the translations in the parallel data file.
|
ParallelDataProperties.Builder |
status(ParallelDataStatus status)
The status of the parallel data resource.
|
ParallelDataProperties.Builder |
status(String status)
The status of the parallel data resource.
|
ParallelDataProperties.Builder |
targetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available in the parallel data file.
|
ParallelDataProperties.Builder |
targetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available in the parallel data file.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildParallelDataProperties.Builder name(String name)
The custom name assigned to the parallel data resource.
name - The custom name assigned to the parallel data resource.ParallelDataProperties.Builder arn(String arn)
The Amazon Resource Name (ARN) of the parallel data resource.
arn - The Amazon Resource Name (ARN) of the parallel data resource.ParallelDataProperties.Builder description(String description)
The description assigned to the parallel data resource.
description - The description assigned to the parallel data resource.ParallelDataProperties.Builder status(String status)
The status of the parallel data resource. When the parallel data is ready for you to use, the status is
ACTIVE.
status - The status of the parallel data resource. When the parallel data is ready for you to use, the status
is ACTIVE.ParallelDataStatus,
ParallelDataStatusParallelDataProperties.Builder status(ParallelDataStatus status)
The status of the parallel data resource. When the parallel data is ready for you to use, the status is
ACTIVE.
status - The status of the parallel data resource. When the parallel data is ready for you to use, the status
is ACTIVE.ParallelDataStatus,
ParallelDataStatusParallelDataProperties.Builder sourceLanguageCode(String sourceLanguageCode)
The source language of the translations in the parallel data file.
sourceLanguageCode - The source language of the translations in the parallel data file.ParallelDataProperties.Builder targetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
targetLanguageCodes - The language codes for the target languages available in the parallel data file. All possible target
languages are returned as an array.ParallelDataProperties.Builder targetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
targetLanguageCodes - The language codes for the target languages available in the parallel data file. All possible target
languages are returned as an array.ParallelDataProperties.Builder parallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
parallelDataConfig - Specifies the format and S3 location of the parallel data input file.default ParallelDataProperties.Builder parallelDataConfig(Consumer<ParallelDataConfig.Builder> parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
This is a convenience method that creates an instance of theParallelDataConfig.Builder avoiding the
need to create one manually via ParallelDataConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to parallelDataConfig(ParallelDataConfig).parallelDataConfig - a consumer that will call methods on ParallelDataConfig.BuilderparallelDataConfig(ParallelDataConfig)ParallelDataProperties.Builder message(String message)
Additional information from Amazon Translate about the parallel data resource.
message - Additional information from Amazon Translate about the parallel data resource.ParallelDataProperties.Builder importedDataSize(Long importedDataSize)
The number of UTF-8 characters that Amazon Translate imported from the parallel data input file. This number includes only the characters in your translation examples. It does not include characters that are used to format your file. For example, if you provided a Translation Memory Exchange (.tmx) file, this number does not include the tags.
importedDataSize - The number of UTF-8 characters that Amazon Translate imported from the parallel data input file. This
number includes only the characters in your translation examples. It does not include characters that
are used to format your file. For example, if you provided a Translation Memory Exchange (.tmx) file,
this number does not include the tags.ParallelDataProperties.Builder importedRecordCount(Long importedRecordCount)
The number of records successfully imported from the parallel data input file.
importedRecordCount - The number of records successfully imported from the parallel data input file.ParallelDataProperties.Builder failedRecordCount(Long failedRecordCount)
The number of records unsuccessfully imported from the parallel data input file.
failedRecordCount - The number of records unsuccessfully imported from the parallel data input file.ParallelDataProperties.Builder skippedRecordCount(Long skippedRecordCount)
The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource. For example, Amazon Translate skips empty records, empty target texts, and empty lines.
skippedRecordCount - The number of items in the input file that Amazon Translate skipped when you created or updated the
parallel data resource. For example, Amazon Translate skips empty records, empty target texts, and
empty lines.ParallelDataProperties.Builder encryptionKey(EncryptionKey encryptionKey)
encryptionKey - The new value for the EncryptionKey property for this object.default ParallelDataProperties.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
EncryptionKey.Builder avoiding the need
to create one manually via EncryptionKey.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to encryptionKey(EncryptionKey).encryptionKey - a consumer that will call methods on EncryptionKey.BuilderencryptionKey(EncryptionKey)ParallelDataProperties.Builder createdAt(Instant createdAt)
The time at which the parallel data resource was created.
createdAt - The time at which the parallel data resource was created.ParallelDataProperties.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time at which the parallel data resource was last updated.
lastUpdatedAt - The time at which the parallel data resource was last updated.ParallelDataProperties.Builder latestUpdateAttemptStatus(String latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
latestUpdateAttemptStatus - The status of the most recent update attempt for the parallel data resource.ParallelDataStatus,
ParallelDataStatusParallelDataProperties.Builder latestUpdateAttemptStatus(ParallelDataStatus latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
latestUpdateAttemptStatus - The status of the most recent update attempt for the parallel data resource.ParallelDataStatus,
ParallelDataStatusParallelDataProperties.Builder latestUpdateAttemptAt(Instant latestUpdateAttemptAt)
The time that the most recent update was attempted.
latestUpdateAttemptAt - The time that the most recent update was attempted.Copyright © 2022. All rights reserved.