public String getTargetVersion() {
        return this.targetVersion;
    }
<p>
The version of Elasticsearch that you intend to upgrade the domain to.
</p>

@return The version of Elasticsearch that you intend to upgrade the domain to.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/UpgradeElasticsearchDomainRequest.java