public void setDuration(Integer duration) {
        this.duration = duration;
    }
The length of time that this reservation is active. MediaConnect defines this value in the offering.

@param duration
       The length of time that this reservation is active. MediaConnect defines this value in the offering.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/Reservation.java