public void setLanguages(java.util.Collection<DominantLanguage> languages) {
        if (languages == null) {
            this.languages = null;
            return;
        }

        this.languages = new java.util.ArrayList<DominantLanguage>(languages);
    }
<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.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/BatchDetectDominantLanguageItemResult.java