public class DetectDominantLanguageResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
DetectDominantLanguageResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<DominantLanguage> |
getLanguages()
The languages that Amazon Comprehend detected in the input text.
|
int |
hashCode() |
void |
setLanguages(java.util.Collection<DominantLanguage> languages)
The languages that Amazon Comprehend detected in the input text.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectDominantLanguageResult |
withLanguages(java.util.Collection<DominantLanguage> languages)
The languages that Amazon Comprehend detected in the input text.
|
DetectDominantLanguageResult |
withLanguages(DominantLanguage... languages)
The languages that Amazon Comprehend detected in the input text.
|
public java.util.List<DominantLanguage> getLanguages()
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
public void setLanguages(java.util.Collection<DominantLanguage> languages)
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
languages - The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
public DetectDominantLanguageResult withLanguages(DominantLanguage... languages)
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
Returns a reference to this object so that method calls can be chained together.
languages - The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
public DetectDominantLanguageResult withLanguages(java.util.Collection<DominantLanguage> languages)
The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
Returns a reference to this object so that method calls can be chained together.
languages - The languages that Amazon Comprehend detected in the input text. For each language, the response returns the RFC 5646 language code and the level of confidence that Amazon Comprehend has in the accuracy of its inference. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.