public ForecastComputation withTime(DimensionField time) {
        setTime(time);
        return this;
    }
<p>
The time field that is used in a computation.
</p>

@param time
       The time field that is used in a computation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/ForecastComputation.java