public class TerminologyData
extends java.lang.Object
implements java.io.Serializable
The data associated with the custom terminology.
| Constructor and Description |
|---|
TerminologyData() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.nio.ByteBuffer |
getFile()
The file containing the custom terminology data.
|
java.lang.String |
getFormat()
The data format of the custom terminology.
|
int |
hashCode() |
void |
setFile(java.nio.ByteBuffer file)
The file containing the custom terminology data.
|
void |
setFormat(java.lang.String format)
The data format of the custom terminology.
|
void |
setFormat(TerminologyDataFormat format)
The data format of the custom terminology.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TerminologyData |
withFile(java.nio.ByteBuffer file)
The file containing the custom terminology data.
|
TerminologyData |
withFormat(java.lang.String format)
The data format of the custom terminology.
|
TerminologyData |
withFormat(TerminologyDataFormat format)
The data format of the custom terminology.
|
public java.nio.ByteBuffer getFile()
The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.
Constraints:
Length: - 10485760
The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.
public void setFile(java.nio.ByteBuffer file)
The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.
Constraints:
Length: - 10485760
file - The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.
public TerminologyData withFile(java.nio.ByteBuffer file)
The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 10485760
file - The file containing the custom terminology data. Your version of the AWS SDK performs a Base64-encoding on this field before sending a request to the AWS service. Users of the SDK should not perform Base64-encoding themselves.
public java.lang.String getFormat()
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic void setFormat(java.lang.String format)
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic TerminologyData withFormat(java.lang.String format)
The data format of the custom terminology. Either CSV or TMX.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic void setFormat(TerminologyDataFormat format)
The data format of the custom terminology. Either CSV or TMX.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic TerminologyData withFormat(TerminologyDataFormat format)
The data format of the custom terminology. Either CSV or TMX.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: CSV, TMX
format - The data format of the custom terminology. Either CSV or TMX.
TerminologyDataFormatpublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.