public GetCompatibleElasticsearchVersionsResult withCompatibleElasticsearchVersions(
            java.util.Collection<CompatibleVersionsMap> compatibleElasticsearchVersions) {
        setCompatibleElasticsearchVersions(compatibleElasticsearchVersions);
        return this;
    }
<p>
A map of compatible Elasticsearch versions returned as part of the
<code> <a>GetCompatibleElasticsearchVersions</a> </code> operation.
</p>

@param compatibleElasticsearchVersions
       A map of compatible Elasticsearch versions returned as part of the
       <code> <a>GetCompatibleElasticsearchVersions</a> </code> operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/GetCompatibleElasticsearchVersionsResult.java