public BatchDetectDominantLanguageItemResult withLanguages(java.util.Collection<DominantLanguage> languages) {
        setLanguages(languages);
        return this;
    }
<p>
One or more <a>DominantLanguage</a> objects describing the dominant languages in the document.
</p>

@param languages
       One or more <a>DominantLanguage</a> objects describing the dominant languages in the document.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/BatchDetectDominantLanguageItemResult.java