@Generated(value="software.amazon.awssdk:codegen") public final class DominantLanguage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DominantLanguage.Builder,DominantLanguage>
Returns the code for the dominant language in the input text and the level of confidence that Amazon Comprehend has in the accuracy of the detection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DominantLanguage.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DominantLanguage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
languageCode()
The RFC 5646 language code for the dominant language.
|
Float |
score()
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DominantLanguage.Builder> |
serializableBuilderClass() |
DominantLanguage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String languageCode()
The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
public final Float score()
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
public DominantLanguage.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DominantLanguage.Builder,DominantLanguage>public static DominantLanguage.Builder builder()
public static Class<? extends DominantLanguage.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.