Interface ForecastResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ForecastResult.Builder,
,ForecastResult> SdkBuilder<ForecastResult.Builder,
,ForecastResult> SdkPojo
- Enclosing class:
ForecastResult
public static interface ForecastResult.Builder
extends SdkPojo, CopyableBuilder<ForecastResult.Builder,ForecastResult>
-
Method Summary
Modifier and TypeMethodDescriptionThe mean value of the forecast.predictionIntervalLowerBound
(String predictionIntervalLowerBound) The lower limit for the prediction interval.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.timePeriod
(DateInterval timePeriod) The period of time that the forecast covers.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
timePeriod
The period of time that the forecast covers.
- Parameters:
timePeriod
- The period of time that the forecast covers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
The period of time that the forecast covers.
This is a convenience method that creates an instance of theDateInterval.Builder
avoiding the need to create one manually viaDateInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimePeriod(DateInterval)
.- Parameters:
timePeriod
- a consumer that will call methods onDateInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
meanValue
The mean value of the forecast.
- Parameters:
meanValue
- The mean value of the forecast.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionIntervalLowerBound
The lower limit for the prediction interval.
- Parameters:
predictionIntervalLowerBound
- The lower limit for the prediction interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
predictionIntervalUpperBound
The upper limit for the prediction interval.
- Parameters:
predictionIntervalUpperBound
- The upper limit for the prediction interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-