Class ParallelDataProperties
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<ParallelDataProperties.Builder,- ParallelDataProperties> 
The properties of a parallel data resource.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionfinal Stringarn()The Amazon Resource Name (ARN) of the parallel data resource.builder()final InstantThe time at which the parallel data resource was created.final StringThe description assigned to the parallel data resource.final EncryptionKeyReturns the value of the EncryptionKey property for this object.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final LongThe number of records unsuccessfully imported from the parallel data input file.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the TargetLanguageCodes property.final LongThe number of UTF-8 characters that Amazon Translate imported from the parallel data input file.final LongThe number of records successfully imported from the parallel data input file.final InstantThe time at which the parallel data resource was last updated.final InstantThe time that the most recent update was attempted.final ParallelDataStatusThe status of the most recent update attempt for the parallel data resource.final StringThe status of the most recent update attempt for the parallel data resource.final Stringmessage()Additional information from Amazon Translate about the parallel data resource.final Stringname()The custom name assigned to the parallel data resource.final ParallelDataConfigSpecifies the format and S3 location of the parallel data input file.static Class<? extends ParallelDataProperties.Builder> final LongThe number of items in the input file that Amazon Translate skipped when you created or updated the parallel data resource.final StringThe source language of the translations in the parallel data file.final ParallelDataStatusstatus()The status of the parallel data resource.final StringThe status of the parallel data resource.The language codes for the target languages available in the parallel data file.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
nameThe custom name assigned to the parallel data resource. - Returns:
- The custom name assigned to the parallel data resource.
 
- 
arnThe Amazon Resource Name (ARN) of the parallel data resource. - Returns:
- The Amazon Resource Name (ARN) of the parallel data resource.
 
- 
descriptionThe description assigned to the parallel data resource. - Returns:
- The description assigned to the parallel data resource.
 
- 
statusThe status of the parallel data resource. When the parallel data is ready for you to use, the status is ACTIVE.If the service returns an enum value that is not available in the current SDK version, statuswill returnParallelDataStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the parallel data resource. When the parallel data is ready for you to use, the status is
         ACTIVE.
- See Also:
 
- 
statusAsStringThe status of the parallel data resource. When the parallel data is ready for you to use, the status is ACTIVE.If the service returns an enum value that is not available in the current SDK version, statuswill returnParallelDataStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the parallel data resource. When the parallel data is ready for you to use, the status is
         ACTIVE.
- See Also:
 
- 
sourceLanguageCodeThe source language of the translations in the parallel data file. - Returns:
- The source language of the translations in the parallel data file.
 
- 
hasTargetLanguageCodespublic final boolean hasTargetLanguageCodes()For responses, this returns true if the service returned a value for the TargetLanguageCodes property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
targetLanguageCodesThe language codes for the target languages available in the parallel data file. All possible target languages are returned as an array. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasTargetLanguageCodes()method.- Returns:
- The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
 
- 
parallelDataConfigSpecifies the format and S3 location of the parallel data input file. - Returns:
- Specifies the format and S3 location of the parallel data input file.
 
- 
messageAdditional information from Amazon Translate about the parallel data resource. - Returns:
- Additional information from Amazon Translate about the parallel data resource.
 
- 
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. - Returns:
- 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.
 
- 
importedRecordCountThe number of records successfully imported from the parallel data input file. - Returns:
- The number of records successfully imported from the parallel data input file.
 
- 
failedRecordCountThe number of records unsuccessfully imported from the parallel data input file. - Returns:
- The number of records unsuccessfully imported from the parallel data input file.
 
- 
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. - Returns:
- 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.
 
- 
encryptionKeyReturns the value of the EncryptionKey property for this object.- Returns:
- The value of the EncryptionKey property for this object.
 
- 
createdAtThe time at which the parallel data resource was created. - Returns:
- The time at which the parallel data resource was created.
 
- 
lastUpdatedAtThe time at which the parallel data resource was last updated. - Returns:
- The time at which the parallel data resource was last updated.
 
- 
latestUpdateAttemptStatusThe status of the most recent update attempt for the parallel data resource. If the service returns an enum value that is not available in the current SDK version, latestUpdateAttemptStatuswill returnParallelDataStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatestUpdateAttemptStatusAsString().- Returns:
- The status of the most recent update attempt for the parallel data resource.
- See Also:
 
- 
latestUpdateAttemptStatusAsStringThe status of the most recent update attempt for the parallel data resource. If the service returns an enum value that is not available in the current SDK version, latestUpdateAttemptStatuswill returnParallelDataStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlatestUpdateAttemptStatusAsString().- Returns:
- The status of the most recent update attempt for the parallel data resource.
- See Also:
 
- 
latestUpdateAttemptAtThe time that the most recent update was attempted. - Returns:
- The time that the most recent update was attempted.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<ParallelDataProperties.Builder,- ParallelDataProperties> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-