public void setDuration(Integer duration) {
        this.duration = duration;
    }
The length of time that your reservation would be active.

@param duration
       The length of time that your reservation would be active.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/Offering.java