public UploadDocumentsResult withWarnings(java.util.Collection<DocumentServiceWarning> warnings) {
        setWarnings(warnings);
        return this;
    }
<p>
Any warnings returned by the document service about the documents being uploaded.
</p>

@param warnings
       Any warnings returned by the document service about the documents being uploaded.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudsearch/src/main/java/com/amazonaws/services/cloudsearchdomain/model/UploadDocumentsResult.java