@Generated(value="software.amazon.awssdk:codegen") public final class UnsupportedLanguageException extends ComprehendException implements ToCopyableBuilder<UnsupportedLanguageException.Builder,UnsupportedLanguageException>
Amazon Comprehend can't process the language of the input text. For all APIs except
DetectDominantLanguage
, Amazon Comprehend accepts only English or Spanish text. For the
DetectDominantLanguage
API, Amazon Comprehend detects 100 languages. For a list of languages, see
how-languages
Modifier and Type | Class and Description |
---|---|
static interface |
UnsupportedLanguageException.Builder |
Modifier and Type | Method and Description |
---|---|
static UnsupportedLanguageException.Builder |
builder() |
static Class<? extends UnsupportedLanguageException.Builder> |
serializableBuilderClass() |
UnsupportedLanguageException.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 UnsupportedLanguageException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<UnsupportedLanguageException.Builder,UnsupportedLanguageException>
toBuilder
in class ComprehendException
public static UnsupportedLanguageException.Builder builder()
public static Class<? extends UnsupportedLanguageException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.