public void setDuration(Integer duration) {
        this.duration = duration;
    }
<p>
The number of minutes' worth of events to retrieve.
</p>

@param duration
       The number of minutes' worth of events to retrieve.
aws-java-sdk-dax/src/main/java/com/amazonaws/services/dax/model/DescribeEventsRequest.java