@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TerminologyProperties extends Object implements Serializable, Cloneable, StructuredPojo
The properties of the custom terminology.
Constructor and Description |
---|
TerminologyProperties() |
Modifier and Type | Method and Description |
---|---|
TerminologyProperties |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the custom terminology.
|
Date |
getCreatedAt()
The time at which the custom terminology was created, based on the timestamp.
|
String |
getDescription()
The description of the custom terminology properties.
|
String |
getDirectionality()
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or
multiple (multi-directional).
|
EncryptionKey |
getEncryptionKey()
The encryption key for the custom terminology.
|
String |
getFormat()
The format of the custom terminology input file.
|
Date |
getLastUpdatedAt()
The time at which the custom terminology was last update, based on the timestamp.
|
String |
getMessage()
Additional information from Amazon Translate about the terminology resource.
|
String |
getName()
The name of the custom terminology.
|
Integer |
getSizeBytes()
The size of the file used when importing a custom terminology.
|
Integer |
getSkippedTermCount()
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology
resource.
|
String |
getSourceLanguageCode()
The language code for the source text of the translation request for which the custom terminology is being used.
|
List<String> |
getTargetLanguageCodes()
The language codes for the target languages available with the custom terminology resource.
|
Integer |
getTermCount()
The number of terms included in the custom terminology.
|
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 custom terminology.
|
void |
setCreatedAt(Date createdAt)
The time at which the custom terminology was created, based on the timestamp.
|
void |
setDescription(String description)
The description of the custom terminology properties.
|
void |
setDirectionality(String directionality)
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or
multiple (multi-directional).
|
void |
setEncryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
|
void |
setFormat(String format)
The format of the custom terminology input file.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
|
void |
setMessage(String message)
Additional information from Amazon Translate about the terminology resource.
|
void |
setName(String name)
The name of the custom terminology.
|
void |
setSizeBytes(Integer sizeBytes)
The size of the file used when importing a custom terminology.
|
void |
setSkippedTermCount(Integer skippedTermCount)
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology
resource.
|
void |
setSourceLanguageCode(String sourceLanguageCode)
The language code for the source text of the translation request for which the custom terminology is being used.
|
void |
setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available with the custom terminology resource.
|
void |
setTermCount(Integer termCount)
The number of terms included in the custom terminology.
|
String |
toString()
Returns a string representation of this object.
|
TerminologyProperties |
withArn(String arn)
The Amazon Resource Name (ARN) of the custom terminology.
|
TerminologyProperties |
withCreatedAt(Date createdAt)
The time at which the custom terminology was created, based on the timestamp.
|
TerminologyProperties |
withDescription(String description)
The description of the custom terminology properties.
|
TerminologyProperties |
withDirectionality(Directionality directionality)
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or
multiple (multi-directional).
|
TerminologyProperties |
withDirectionality(String directionality)
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or
multiple (multi-directional).
|
TerminologyProperties |
withEncryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
|
TerminologyProperties |
withFormat(String format)
The format of the custom terminology input file.
|
TerminologyProperties |
withFormat(TerminologyDataFormat format)
The format of the custom terminology input file.
|
TerminologyProperties |
withLastUpdatedAt(Date lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
|
TerminologyProperties |
withMessage(String message)
Additional information from Amazon Translate about the terminology resource.
|
TerminologyProperties |
withName(String name)
The name of the custom terminology.
|
TerminologyProperties |
withSizeBytes(Integer sizeBytes)
The size of the file used when importing a custom terminology.
|
TerminologyProperties |
withSkippedTermCount(Integer skippedTermCount)
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology
resource.
|
TerminologyProperties |
withSourceLanguageCode(String sourceLanguageCode)
The language code for the source text of the translation request for which the custom terminology is being used.
|
TerminologyProperties |
withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available with the custom terminology resource.
|
TerminologyProperties |
withTargetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available with the custom terminology resource.
|
TerminologyProperties |
withTermCount(Integer termCount)
The number of terms included in the custom terminology.
|
public void setName(String name)
The name of the custom terminology.
name
- The name of the custom terminology.public String getName()
The name of the custom terminology.
public TerminologyProperties withName(String name)
The name of the custom terminology.
name
- The name of the custom terminology.public void setDescription(String description)
The description of the custom terminology properties.
description
- The description of the custom terminology properties.public String getDescription()
The description of the custom terminology properties.
public TerminologyProperties withDescription(String description)
The description of the custom terminology properties.
description
- The description of the custom terminology properties.public void setArn(String arn)
The Amazon Resource Name (ARN) of the custom terminology.
arn
- The Amazon Resource Name (ARN) of the custom terminology.public String getArn()
The Amazon Resource Name (ARN) of the custom terminology.
public TerminologyProperties withArn(String arn)
The Amazon Resource Name (ARN) of the custom terminology.
arn
- The Amazon Resource Name (ARN) of the custom terminology.public void setSourceLanguageCode(String sourceLanguageCode)
The language code for the source text of the translation request for which the custom terminology is being used.
sourceLanguageCode
- The language code for the source text of the translation request for which the custom terminology is being
used.public String getSourceLanguageCode()
The language code for the source text of the translation request for which the custom terminology is being used.
public TerminologyProperties withSourceLanguageCode(String sourceLanguageCode)
The language code for the source text of the translation request for which the custom terminology is being used.
sourceLanguageCode
- The language code for the source text of the translation request for which the custom terminology is being
used.public List<String> getTargetLanguageCodes()
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
public void setTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
targetLanguageCodes
- The language codes for the target languages available with the custom terminology resource. All possible
target languages are returned in array.public TerminologyProperties withTargetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in 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 with the custom terminology resource. All possible
target languages are returned in array.public TerminologyProperties withTargetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
targetLanguageCodes
- The language codes for the target languages available with the custom terminology resource. All possible
target languages are returned in array.public void setEncryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
encryptionKey
- The encryption key for the custom terminology.public EncryptionKey getEncryptionKey()
The encryption key for the custom terminology.
public TerminologyProperties withEncryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
encryptionKey
- The encryption key for the custom terminology.public void setSizeBytes(Integer sizeBytes)
The size of the file used when importing a custom terminology.
sizeBytes
- The size of the file used when importing a custom terminology.public Integer getSizeBytes()
The size of the file used when importing a custom terminology.
public TerminologyProperties withSizeBytes(Integer sizeBytes)
The size of the file used when importing a custom terminology.
sizeBytes
- The size of the file used when importing a custom terminology.public void setTermCount(Integer termCount)
The number of terms included in the custom terminology.
termCount
- The number of terms included in the custom terminology.public Integer getTermCount()
The number of terms included in the custom terminology.
public TerminologyProperties withTermCount(Integer termCount)
The number of terms included in the custom terminology.
termCount
- The number of terms included in the custom terminology.public void setCreatedAt(Date createdAt)
The time at which the custom terminology was created, based on the timestamp.
createdAt
- The time at which the custom terminology was created, based on the timestamp.public Date getCreatedAt()
The time at which the custom terminology was created, based on the timestamp.
public TerminologyProperties withCreatedAt(Date createdAt)
The time at which the custom terminology was created, based on the timestamp.
createdAt
- The time at which the custom terminology was created, based on the timestamp.public void setLastUpdatedAt(Date lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
lastUpdatedAt
- The time at which the custom terminology was last update, based on the timestamp.public Date getLastUpdatedAt()
The time at which the custom terminology was last update, based on the timestamp.
public TerminologyProperties withLastUpdatedAt(Date lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
lastUpdatedAt
- The time at which the custom terminology was last update, based on the timestamp.public void setDirectionality(String directionality)
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
directionality
- The directionality of your terminology resource indicates whether it has one source language
(uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
Directionality
public String getDirectionality()
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
Directionality
public TerminologyProperties withDirectionality(String directionality)
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
directionality
- The directionality of your terminology resource indicates whether it has one source language
(uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
Directionality
public TerminologyProperties withDirectionality(Directionality directionality)
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
directionality
- The directionality of your terminology resource indicates whether it has one source language
(uni-directional) or multiple (multi-directional).
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
Any language in the terminology resource can be the source language.
Directionality
public void setMessage(String message)
Additional information from Amazon Translate about the terminology resource.
message
- Additional information from Amazon Translate about the terminology resource.public String getMessage()
Additional information from Amazon Translate about the terminology resource.
public TerminologyProperties withMessage(String message)
Additional information from Amazon Translate about the terminology resource.
message
- Additional information from Amazon Translate about the terminology resource.public void setSkippedTermCount(Integer skippedTermCount)
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.
skippedTermCount
- The number of terms in the input file that Amazon Translate skipped when you created or updated the
terminology resource.public Integer getSkippedTermCount()
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.
public TerminologyProperties withSkippedTermCount(Integer skippedTermCount)
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.
skippedTermCount
- The number of terms in the input file that Amazon Translate skipped when you created or updated the
terminology resource.public void setFormat(String format)
The format of the custom terminology input file.
format
- The format of the custom terminology input file.TerminologyDataFormat
public String getFormat()
The format of the custom terminology input file.
TerminologyDataFormat
public TerminologyProperties withFormat(String format)
The format of the custom terminology input file.
format
- The format of the custom terminology input file.TerminologyDataFormat
public TerminologyProperties withFormat(TerminologyDataFormat format)
The format of the custom terminology input file.
format
- The format of the custom terminology input file.TerminologyDataFormat
public String toString()
toString
in class Object
Object.toString()
public TerminologyProperties clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.