public DescribeHostReservationOfferingsRequest withMaxDuration(Integer maxDuration) {
        setMaxDuration(maxDuration);
        return this;
    }
<p>
This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are available in
one-year and three-year terms. The number of seconds specified must be the number of seconds in a year
(365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for three years.
</p>

@param maxDuration
       This is the maximum duration of the reservation to purchase, specified in seconds. Reservations are
       available in one-year and three-year terms. The number of seconds specified must be the number of seconds
       in a year (365x24x60x60) times one of the supported durations (1 or 3). For example, specify 94608000 for
       three years.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeHostReservationOfferingsRequest.java