@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 with 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 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 with 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 the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
TerminologyDataFormat
public final String terminologyDataFormatAsString()
The data format of the custom terminology being retrieved.
If you don't specify this parameter, Amazon Translate returns a file with 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 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 with 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 the input file that was imported to create it. Otherwise, Amazon Translate throws an error.
TerminologyDataFormat
public GetTerminologyRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetTerminologyRequest.Builder,GetTerminologyRequest>
toBuilder
in class TranslateRequest
public static GetTerminologyRequest.Builder builder()
public static Class<? extends GetTerminologyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsRequest
public final boolean equals(Object obj)
equals
in class AwsRequest
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2023. All rights reserved.