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

@param duration
       The duration of the offering (in seconds).
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/HostOffering.java