public EstimateByTime withTimePeriod(TimePeriod timePeriod) {
        setTimePeriod(timePeriod);
        return this;
    }
<p>
The period of time, in days, that an estimate covers. The period has a start date and an end date. The start date
must come before the end date.
</p>

@param timePeriod
       The period of time, in days, that an estimate covers. The period has a start date and an end date. The
       start date must come before the end date.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/EstimateByTime.java