@Generated(value="software.amazon.awssdk:codegen") public 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()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UnsupportedLanguageException.Builder,UnsupportedLanguageException>
public static UnsupportedLanguageException.Builder builder()
public static Class<? extends UnsupportedLanguageException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.