public void setDuration(Integer duration) {
        this.duration = duration;
    }
<p>
The duration of the reservation in seconds.
</p>

@param duration
       The duration of the reservation in seconds.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/ReservedCacheNode.java