@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 how-to-error-msg.
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()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public UnsupportedLanguagePairException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.