@Generated(value="software.amazon.awssdk:codegen") public final class DetectedLanguageLowConfidenceException extends TranslateException implements ToCopyableBuilder<DetectedLanguageLowConfidenceException.Builder,DetectedLanguageLowConfidenceException>
The confidence that Amazon Comprehend accurately detected the source language is low. If a low confidence level is acceptable for your application, you can use the language in the exception to call Amazon Translate again. For more information, see the DetectDominantLanguage operation in the Amazon Comprehend Developer Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DetectedLanguageLowConfidenceException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DetectedLanguageLowConfidenceException.Builder |
builder() |
String |
detectedLanguageCode()
The language code of the auto-detected language from Amazon Comprehend.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DetectedLanguageLowConfidenceException.Builder> |
serializableBuilderClass() |
DetectedLanguageLowConfidenceException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException. |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic DetectedLanguageLowConfidenceException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<DetectedLanguageLowConfidenceException.Builder,DetectedLanguageLowConfidenceException>toBuilder in class TranslateExceptionpublic static DetectedLanguageLowConfidenceException.Builder builder()
public static Class<? extends DetectedLanguageLowConfidenceException.Builder> serializableBuilderClass()
public String detectedLanguageCode()
The language code of the auto-detected language from Amazon Comprehend.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.