@Generated(value="software.amazon.awssdk:codegen") public final class GetTerminologyRequest extends TranslateRequest implements ToCopyableBuilder<GetTerminologyRequest.Builder,GetTerminologyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetTerminologyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetTerminologyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the custom terminology being retrieved.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetTerminologyRequest.Builder> |
serializableBuilderClass() |
TerminologyDataFormat |
terminologyDataFormat()
The data format of the custom terminology being retrieved.
|
String |
terminologyDataFormatAsString()
The data format of the custom terminology being retrieved.
|
GetTerminologyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the custom terminology being retrieved.
public final TerminologyDataFormat terminologyDataFormat()
The data format of the custom terminology being retrieved.
If you don't specify this parameter, Amazon Translate returns a file that has the same format as the file that was imported to create the terminology.
If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as that of the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
If the service returns an enum value that is not available in the current SDK version,
terminologyDataFormat will return TerminologyDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from terminologyDataFormatAsString().
If you don't specify this parameter, Amazon Translate returns a file that has the same format as the file that was imported to create the terminology.
If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as that of the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
TerminologyDataFormatpublic final String terminologyDataFormatAsString()
The data format of the custom terminology being retrieved.
If you don't specify this parameter, Amazon Translate returns a file that has the same format as the file that was imported to create the terminology.
If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as that of the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
If the service returns an enum value that is not available in the current SDK version,
terminologyDataFormat will return TerminologyDataFormat.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from terminologyDataFormatAsString().
If you don't specify this parameter, Amazon Translate returns a file that has the same format as the file that was imported to create the terminology.
If you specify this parameter when you retrieve a multi-directional terminology resource, you must specify the same format as that of the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
TerminologyDataFormatpublic GetTerminologyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetTerminologyRequest.Builder,GetTerminologyRequest>toBuilder in class TranslateRequestpublic static GetTerminologyRequest.Builder builder()
public static Class<? extends GetTerminologyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.