public Integer getDuration() {
        return this.duration;
    }
<p>
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
</p>

@return The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/ReservedElasticsearchInstanceOffering.java