@Generated(value="software.amazon.awssdk:codegen") public final class UnsupportedLanguagePairException extends TranslateException implements ToCopyableBuilder<UnsupportedLanguagePairException.Builder,UnsupportedLanguagePairException>
Amazon Translate does not support translation from the language of the source text into the requested target language. For more information, see Supported languages.
Modifier and Type | Class and Description |
---|---|
static interface |
UnsupportedLanguagePairException.Builder |
Modifier and Type | Method and Description |
---|---|
static UnsupportedLanguagePairException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UnsupportedLanguagePairException.Builder> |
serializableBuilderClass() |
String |
sourceLanguageCode()
The language code for the language of the input text.
|
String |
targetLanguageCode()
The language code for the language of the translated text.
|
UnsupportedLanguagePairException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public UnsupportedLanguagePairException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<UnsupportedLanguagePairException.Builder,UnsupportedLanguagePairException>
toBuilder
in class TranslateException
public static UnsupportedLanguagePairException.Builder builder()
public static Class<? extends UnsupportedLanguagePairException.Builder> serializableBuilderClass()
public String sourceLanguageCode()
The language code for the language of the input text.
public String targetLanguageCode()
The language code for the language of the translated text.
Copyright © 2023. All rights reserved.