@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 custom entity recognition APIs (such as
CreateEntityRecognizer
), only English is accepted. For most other APIs, Amazon Comprehend accepts only
English or Spanish text.
Modifier and Type | Class and Description |
---|---|
static interface |
UnsupportedLanguageException.Builder |
Modifier and Type | Method and Description |
---|---|
static UnsupportedLanguageException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
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.