Interface ParallelDataProperties.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ParallelDataProperties.Builder,,- ParallelDataProperties> - SdkBuilder<ParallelDataProperties.Builder,,- ParallelDataProperties> - SdkPojo
- Enclosing class:
- ParallelDataProperties
- 
Method SummaryModifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the parallel data resource.The time at which the parallel data resource was created.description(String description) The description assigned to the parallel data resource.default ParallelDataProperties.BuilderencryptionKey(Consumer<EncryptionKey.Builder> encryptionKey) Sets the value of the EncryptionKey property for this object.encryptionKey(EncryptionKey encryptionKey) Sets the value of the EncryptionKey property for this object.failedRecordCount(Long failedRecordCount) The number of records unsuccessfully imported from the parallel data input file.importedDataSize(Long importedDataSize) The number of UTF-8 characters that Amazon Translate imported from the parallel data input file.importedRecordCount(Long importedRecordCount) The number of records successfully imported from the parallel data input file.lastUpdatedAt(Instant lastUpdatedAt) The time at which the parallel data resource was last updated.latestUpdateAttemptAt(Instant latestUpdateAttemptAt) The time that the most recent update was attempted.latestUpdateAttemptStatus(String latestUpdateAttemptStatus) The status of the most recent update attempt for the parallel data resource.latestUpdateAttemptStatus(ParallelDataStatus latestUpdateAttemptStatus) The status of the most recent update attempt for the parallel data resource.Additional information from Amazon Translate about the parallel data resource.The custom name assigned to the parallel data resource.default ParallelDataProperties.BuilderparallelDataConfig(Consumer<ParallelDataConfig.Builder> parallelDataConfig) Specifies the format and S3 location of the parallel data input file.parallelDataConfig(ParallelDataConfig parallelDataConfig) Specifies the format and S3 location of the parallel data input file.skippedRecordCount(Long skippedRecordCount) The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource.sourceLanguageCode(String sourceLanguageCode) The source language of the translations in the parallel data file.The status of the parallel data resource.status(ParallelDataStatus status) The status of the parallel data resource.targetLanguageCodes(String... targetLanguageCodes) The language codes for the target languages available in the parallel data file.targetLanguageCodes(Collection<String> targetLanguageCodes) The language codes for the target languages available in the parallel data file.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe custom name assigned to the parallel data resource. - Parameters:
- name- The custom name assigned to the parallel data resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
arnThe Amazon Resource Name (ARN) of the parallel data resource. - Parameters:
- arn- The Amazon Resource Name (ARN) of the parallel data resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionThe description assigned to the parallel data resource. - Parameters:
- description- The description assigned to the parallel data resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the parallel data resource. When the parallel data is ready for you to use, the status is ACTIVE.- Parameters:
- status- The status of the parallel data resource. When the parallel data is ready for you to use, the status is- ACTIVE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of the parallel data resource. When the parallel data is ready for you to use, the status is ACTIVE.- Parameters:
- status- The status of the parallel data resource. When the parallel data is ready for you to use, the status is- ACTIVE.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceLanguageCodeThe source language of the translations in the parallel data file. - Parameters:
- sourceLanguageCode- The source language of the translations in the parallel data file.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetLanguageCodesThe language codes for the target languages available in the parallel data file. All possible target languages are returned as an array. - Parameters:
- targetLanguageCodes- The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
targetLanguageCodesThe language codes for the target languages available in the parallel data file. All possible target languages are returned as an array. - Parameters:
- targetLanguageCodes- The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parallelDataConfigSpecifies the format and S3 location of the parallel data input file. - Parameters:
- parallelDataConfig- Specifies the format and S3 location of the parallel data input file.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
parallelDataConfigdefault 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.Builderavoiding the need to create one manually viaParallelDataConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparallelDataConfig(ParallelDataConfig).- Parameters:
- parallelDataConfig- a consumer that will call methods on- ParallelDataConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
messageAdditional information from Amazon Translate about the parallel data resource. - Parameters:
- message- Additional information from Amazon Translate about the parallel data resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
importedDataSizeThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
importedRecordCountThe number of records successfully imported from the parallel data input file. - Parameters:
- importedRecordCount- The number of records successfully imported from the parallel data input file.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
failedRecordCountThe number of records unsuccessfully imported from the parallel data input file. - Parameters:
- failedRecordCount- The number of records unsuccessfully imported from the parallel data input file.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
skippedRecordCountThe 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. - Parameters:
- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
encryptionKeySets the value of the EncryptionKey property for this object.- Parameters:
- encryptionKey- The new value for the EncryptionKey property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
encryptionKeySets the value of the EncryptionKey property for this object. This is a convenience method that creates an instance of theEncryptionKey.Builderavoiding the need to create one manually viaEncryptionKey.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionKey(EncryptionKey).- Parameters:
- encryptionKey- a consumer that will call methods on- EncryptionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createdAtThe time at which the parallel data resource was created. - Parameters:
- createdAt- The time at which the parallel data resource was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
lastUpdatedAtThe time at which the parallel data resource was last updated. - Parameters:
- lastUpdatedAt- The time at which the parallel data resource was last updated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
latestUpdateAttemptStatusThe status of the most recent update attempt for the parallel data resource. - Parameters:
- latestUpdateAttemptStatus- The status of the most recent update attempt for the parallel data resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
latestUpdateAttemptStatusParallelDataProperties.Builder latestUpdateAttemptStatus(ParallelDataStatus latestUpdateAttemptStatus) The status of the most recent update attempt for the parallel data resource. - Parameters:
- latestUpdateAttemptStatus- The status of the most recent update attempt for the parallel data resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
latestUpdateAttemptAtThe time that the most recent update was attempted. - Parameters:
- latestUpdateAttemptAt- The time that the most recent update was attempted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-