@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ParallelDataProperties extends Object implements Serializable, Cloneable, StructuredPojo
The properties of a parallel data resource.
Constructor and Description |
---|
ParallelDataProperties() |
Modifier and Type | Method and Description |
---|---|
ParallelDataProperties |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the parallel data resource.
|
Date |
getCreatedAt()
The time at which the parallel data resource was created.
|
String |
getDescription()
The description assigned to the parallel data resource.
|
EncryptionKey |
getEncryptionKey() |
Long |
getFailedRecordCount()
The number of records unsuccessfully imported from the parallel data input file.
|
Long |
getImportedDataSize()
The number of UTF-8 characters that Amazon Translate imported from the parallel data input file.
|
Long |
getImportedRecordCount()
The number of records successfully imported from the parallel data input file.
|
Date |
getLastUpdatedAt()
The time at which the parallel data resource was last updated.
|
Date |
getLatestUpdateAttemptAt()
The time that the most recent update was attempted.
|
String |
getLatestUpdateAttemptStatus()
The status of the most recent update attempt for the parallel data resource.
|
String |
getMessage()
Additional information from Amazon Translate about the parallel data resource.
|
String |
getName()
The custom name assigned to the parallel data resource.
|
ParallelDataConfig |
getParallelDataConfig()
Specifies the format and S3 location of the parallel data input file.
|
Long |
getSkippedRecordCount()
The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data
resource.
|
String |
getSourceLanguageCode()
The source language of the translations in the parallel data file.
|
String |
getStatus()
The status of the parallel data resource.
|
List<String> |
getTargetLanguageCodes()
The language codes for the target languages available in the parallel data file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the parallel data resource.
|
void |
setCreatedAt(Date createdAt)
The time at which the parallel data resource was created.
|
void |
setDescription(String description)
The description assigned to the parallel data resource.
|
void |
setEncryptionKey(EncryptionKey encryptionKey) |
void |
setFailedRecordCount(Long failedRecordCount)
The number of records unsuccessfully imported from the parallel data input file.
|
void |
setImportedDataSize(Long importedDataSize)
The number of UTF-8 characters that Amazon Translate imported from the parallel data input file.
|
void |
setImportedRecordCount(Long importedRecordCount)
The number of records successfully imported from the parallel data input file.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time at which the parallel data resource was last updated.
|
void |
setLatestUpdateAttemptAt(Date latestUpdateAttemptAt)
The time that the most recent update was attempted.
|
void |
setLatestUpdateAttemptStatus(String latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
|
void |
setMessage(String message)
Additional information from Amazon Translate about the parallel data resource.
|
void |
setName(String name)
The custom name assigned to the parallel data resource.
|
void |
setParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
void |
setSkippedRecordCount(Long skippedRecordCount)
The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data
resource.
|
void |
setSourceLanguageCode(String sourceLanguageCode)
The source language of the translations in the parallel data file.
|
void |
setStatus(String status)
The status of the parallel data resource.
|
void |
setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available in the parallel data file.
|
String |
toString()
Returns a string representation of this object.
|
ParallelDataProperties |
withArn(String arn)
The Amazon Resource Name (ARN) of the parallel data resource.
|
ParallelDataProperties |
withCreatedAt(Date createdAt)
The time at which the parallel data resource was created.
|
ParallelDataProperties |
withDescription(String description)
The description assigned to the parallel data resource.
|
ParallelDataProperties |
withEncryptionKey(EncryptionKey encryptionKey) |
ParallelDataProperties |
withFailedRecordCount(Long failedRecordCount)
The number of records unsuccessfully imported from the parallel data input file.
|
ParallelDataProperties |
withImportedDataSize(Long importedDataSize)
The number of UTF-8 characters that Amazon Translate imported from the parallel data input file.
|
ParallelDataProperties |
withImportedRecordCount(Long importedRecordCount)
The number of records successfully imported from the parallel data input file.
|
ParallelDataProperties |
withLastUpdatedAt(Date lastUpdatedAt)
The time at which the parallel data resource was last updated.
|
ParallelDataProperties |
withLatestUpdateAttemptAt(Date latestUpdateAttemptAt)
The time that the most recent update was attempted.
|
ParallelDataProperties |
withLatestUpdateAttemptStatus(ParallelDataStatus latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
|
ParallelDataProperties |
withLatestUpdateAttemptStatus(String latestUpdateAttemptStatus)
The status of the most recent update attempt for the parallel data resource.
|
ParallelDataProperties |
withMessage(String message)
Additional information from Amazon Translate about the parallel data resource.
|
ParallelDataProperties |
withName(String name)
The custom name assigned to the parallel data resource.
|
ParallelDataProperties |
withParallelDataConfig(ParallelDataConfig parallelDataConfig)
Specifies the format and S3 location of the parallel data input file.
|
ParallelDataProperties |
withSkippedRecordCount(Long skippedRecordCount)
The number of items in the input file that Amazon Translate skipped when you created or updated the parallel data
resource.
|
ParallelDataProperties |
withSourceLanguageCode(String sourceLanguageCode)
The source language of the translations in the parallel data file.
|
ParallelDataProperties |
withStatus(ParallelDataStatus status)
The status of the parallel data resource.
|
ParallelDataProperties |
withStatus(String status)
The status of the parallel data resource.
|
ParallelDataProperties |
withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available in the parallel data file.
|
ParallelDataProperties |
withTargetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available in the parallel data file.
|
public void setName(String name)
The custom name assigned to the parallel data resource.
name
- The custom name assigned to the parallel data resource.public String getName()
The custom name assigned to the parallel data resource.
public ParallelDataProperties withName(String name)
The custom name assigned to the parallel data resource.
name
- The custom name assigned to the parallel data resource.public void setArn(String arn)
The Amazon Resource Name (ARN) of the parallel data resource.
arn
- The Amazon Resource Name (ARN) of the parallel data resource.public String getArn()
The Amazon Resource Name (ARN) of the parallel data resource.
public ParallelDataProperties withArn(String arn)
The Amazon Resource Name (ARN) of the parallel data resource.
arn
- The Amazon Resource Name (ARN) of the parallel data resource.public void setDescription(String description)
The description assigned to the parallel data resource.
description
- The description assigned to the parallel data resource.public String getDescription()
The description assigned to the parallel data resource.
public ParallelDataProperties withDescription(String description)
The description assigned to the parallel data resource.
description
- The description assigned to the parallel data resource.public void setStatus(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
public String getStatus()
The status of the parallel data resource. When the parallel data is ready for you to use, the status is
ACTIVE
.
ACTIVE
.ParallelDataStatus
public ParallelDataProperties withStatus(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
public ParallelDataProperties withStatus(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
public void setSourceLanguageCode(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.public String getSourceLanguageCode()
The source language of the translations in the parallel data file.
public ParallelDataProperties withSourceLanguageCode(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.public List<String> getTargetLanguageCodes()
The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
public void setTargetLanguageCodes(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.public ParallelDataProperties withTargetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available in the parallel data file. All possible target languages are returned as an array.
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 codes for the target languages available in the parallel data file. All possible target
languages are returned as an array.public ParallelDataProperties withTargetLanguageCodes(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.public void setParallelDataConfig(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.public ParallelDataConfig getParallelDataConfig()
Specifies the format and S3 location of the parallel data input file.
public ParallelDataProperties withParallelDataConfig(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.public void setMessage(String message)
Additional information from Amazon Translate about the parallel data resource.
message
- Additional information from Amazon Translate about the parallel data resource.public String getMessage()
Additional information from Amazon Translate about the parallel data resource.
public ParallelDataProperties withMessage(String message)
Additional information from Amazon Translate about the parallel data resource.
message
- Additional information from Amazon Translate about the parallel data resource.public void setImportedDataSize(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.public Long getImportedDataSize()
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.
public ParallelDataProperties withImportedDataSize(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.public void setImportedRecordCount(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.public Long getImportedRecordCount()
The number of records successfully imported from the parallel data input file.
public ParallelDataProperties withImportedRecordCount(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.public void setFailedRecordCount(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.public Long getFailedRecordCount()
The number of records unsuccessfully imported from the parallel data input file.
public ParallelDataProperties withFailedRecordCount(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.public void setSkippedRecordCount(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.public Long getSkippedRecordCount()
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.
public ParallelDataProperties withSkippedRecordCount(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.public void setEncryptionKey(EncryptionKey encryptionKey)
encryptionKey
- public EncryptionKey getEncryptionKey()
public ParallelDataProperties withEncryptionKey(EncryptionKey encryptionKey)
encryptionKey
- public void setCreatedAt(Date createdAt)
The time at which the parallel data resource was created.
createdAt
- The time at which the parallel data resource was created.public Date getCreatedAt()
The time at which the parallel data resource was created.
public ParallelDataProperties withCreatedAt(Date createdAt)
The time at which the parallel data resource was created.
createdAt
- The time at which the parallel data resource was created.public void setLastUpdatedAt(Date lastUpdatedAt)
The time at which the parallel data resource was last updated.
lastUpdatedAt
- The time at which the parallel data resource was last updated.public Date getLastUpdatedAt()
The time at which the parallel data resource was last updated.
public ParallelDataProperties withLastUpdatedAt(Date lastUpdatedAt)
The time at which the parallel data resource was last updated.
lastUpdatedAt
- The time at which the parallel data resource was last updated.public void setLatestUpdateAttemptStatus(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
public String getLatestUpdateAttemptStatus()
The status of the most recent update attempt for the parallel data resource.
ParallelDataStatus
public ParallelDataProperties withLatestUpdateAttemptStatus(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
public ParallelDataProperties withLatestUpdateAttemptStatus(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
public void setLatestUpdateAttemptAt(Date latestUpdateAttemptAt)
The time that the most recent update was attempted.
latestUpdateAttemptAt
- The time that the most recent update was attempted.public Date getLatestUpdateAttemptAt()
The time that the most recent update was attempted.
public ParallelDataProperties withLatestUpdateAttemptAt(Date latestUpdateAttemptAt)
The time that the most recent update was attempted.
latestUpdateAttemptAt
- The time that the most recent update was attempted.public String toString()
toString
in class Object
Object.toString()
public ParallelDataProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.