public static interface ForecastResult.Builder extends SdkPojo, CopyableBuilder<ForecastResult.Builder,ForecastResult>
Modifier and Type | Method and Description |
---|---|
ForecastResult.Builder |
meanValue(String meanValue)
The mean value of the forecast.
|
ForecastResult.Builder |
predictionIntervalLowerBound(String predictionIntervalLowerBound)
The lower limit for the prediction interval.
|
ForecastResult.Builder |
predictionIntervalUpperBound(String predictionIntervalUpperBound)
The upper limit for the prediction interval.
|
default ForecastResult.Builder |
timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time that the forecast covers.
|
ForecastResult.Builder |
timePeriod(DateInterval timePeriod)
The period of time that the forecast covers.
|
copy
applyMutation, build
ForecastResult.Builder timePeriod(DateInterval timePeriod)
The period of time that the forecast covers.
timePeriod
- The period of time that the forecast covers.default ForecastResult.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time that the forecast covers.
This is a convenience that creates an instance of theDateInterval.Builder
avoiding the need to
create one manually via DateInterval.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to timePeriod(DateInterval)
.timePeriod
- a consumer that will call methods on DateInterval.Builder
timePeriod(DateInterval)
ForecastResult.Builder meanValue(String meanValue)
The mean value of the forecast.
meanValue
- The mean value of the forecast.ForecastResult.Builder predictionIntervalLowerBound(String predictionIntervalLowerBound)
The lower limit for the prediction interval.
predictionIntervalLowerBound
- The lower limit for the prediction interval.ForecastResult.Builder predictionIntervalUpperBound(String predictionIntervalUpperBound)
The upper limit for the prediction interval.
predictionIntervalUpperBound
- The upper limit for the prediction interval.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.