@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.
|
EncryptionKey |
getEncryptionKey()
The encryption key for the custom terminology.
|
Date |
getLastUpdatedAt()
The time at which the custom terminology was last update, based on the timestamp.
|
String |
getName()
The name of the custom terminology.
|
Integer |
getSizeBytes()
The size of the file used when importing a custom terminology.
|
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 file.
|
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 |
setEncryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
|
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 |
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 file.
|
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 |
withEncryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
|
TerminologyProperties |
withLastUpdatedAt(Date lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
|
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 |
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 file.
|
TerminologyProperties |
withTargetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available with the custom terminology file.
|
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 file. 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 file. All possible target languages are returned in array.
targetLanguageCodes
- The language codes for the target languages available with the custom terminology file. 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 file. 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 file. 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 file. All possible target languages are returned in array.
targetLanguageCodes
- The language codes for the target languages available with the custom terminology file. 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 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.