@Generated(value="software.amazon.awssdk:codegen") public final class TerminologyData extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TerminologyData.Builder,TerminologyData>
The data associated with the custom terminology.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TerminologyData.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TerminologyData.Builder |
builder() |
Directionality |
directionality()
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or
multiple (multi-directional).
|
String |
directionalityAsString()
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or
multiple (multi-directional).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
SdkBytes |
file()
The file containing the custom terminology data.
|
TerminologyDataFormat |
format()
The data format of the custom terminology.
|
String |
formatAsString()
The data format of the custom terminology.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends TerminologyData.Builder> |
serializableBuilderClass() |
TerminologyData.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SdkBytes 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 final TerminologyDataFormat format()
The data format of the custom terminology.
If the service returns an enum value that is not available in the current SDK version, format will
return TerminologyDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from formatAsString().
TerminologyDataFormatpublic final String formatAsString()
The data format of the custom terminology.
If the service returns an enum value that is not available in the current SDK version, format will
return TerminologyDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from formatAsString().
TerminologyDataFormatpublic final 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 (for example, 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 or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains terms in English and Spanish, then it can be used for jobs that translate English to Spanish and jobs that translate Spanish to English.
When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.
If the service returns an enum value that is not available in the current SDK version, directionality
will return Directionality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from directionalityAsString().
The terminology resource has one source language (for example, 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 or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains terms in English and Spanish, then it can be used for jobs that translate English to Spanish and jobs that translate Spanish to English.
When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.
Directionalitypublic final String directionalityAsString()
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 (for example, 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 or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains terms in English and Spanish, then it can be used for jobs that translate English to Spanish and jobs that translate Spanish to English.
When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.
If the service returns an enum value that is not available in the current SDK version, directionality
will return Directionality.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from directionalityAsString().
The terminology resource has one source language (for example, 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 or a target language. A single multi-directional terminology resource can be used for jobs that translate different language pairs. For example, if the terminology contains terms in English and Spanish, then it can be used for jobs that translate English to Spanish and jobs that translate Spanish to English.
When you create a custom terminology resource without specifying the directionality, it behaves as uni-directional terminology, although this parameter will have a null value.
Directionalitypublic TerminologyData.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TerminologyData.Builder,TerminologyData>public static TerminologyData.Builder builder()
public static Class<? extends TerminologyData.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.