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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ForecastResult.BuildermeanValue(String meanValue)The mean value of the forecast.ForecastResult.BuilderpredictionIntervalLowerBound(String predictionIntervalLowerBound)The lower limit for the prediction interval.ForecastResult.BuilderpredictionIntervalUpperBound(String predictionIntervalUpperBound)The upper limit for the prediction interval.default ForecastResult.BuildertimePeriod(Consumer<DateInterval.Builder> timePeriod)The period of time that the forecast covers.ForecastResult.BuildertimePeriod(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 Detail
-
timePeriod
ForecastResult.Builder timePeriod(DateInterval 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
default ForecastResult.Builder timePeriod(Consumer<DateInterval.Builder> timePeriod)
The period of time that the forecast covers.
This is a convenience method that creates an instance of theDateInterval.Builderavoiding the need to create one manually viaDateInterval.builder().When the
Consumercompletes,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:
timePeriod(DateInterval)
-
meanValue
ForecastResult.Builder meanValue(String 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
ForecastResult.Builder predictionIntervalLowerBound(String 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
ForecastResult.Builder predictionIntervalUpperBound(String 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.
-
-