Interface ForecastConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ForecastConfiguration.Builder,
,ForecastConfiguration> SdkBuilder<ForecastConfiguration.Builder,
,ForecastConfiguration> SdkPojo
- Enclosing class:
ForecastConfiguration
public static interface ForecastConfiguration.Builder
extends SdkPojo, CopyableBuilder<ForecastConfiguration.Builder,ForecastConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ForecastConfiguration.Builder
forecastProperties
(Consumer<TimeBasedForecastProperties.Builder> forecastProperties) The forecast properties setup of a forecast in the line chart.forecastProperties
(TimeBasedForecastProperties forecastProperties) The forecast properties setup of a forecast in the line chart.default ForecastConfiguration.Builder
scenario
(Consumer<ForecastScenario.Builder> scenario) The forecast scenario of a forecast in the line chart.scenario
(ForecastScenario scenario) The forecast scenario of a forecast in the line chart.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
-
forecastProperties
The forecast properties setup of a forecast in the line chart.
- Parameters:
forecastProperties
- The forecast properties setup of a forecast in the line chart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
forecastProperties
default ForecastConfiguration.Builder forecastProperties(Consumer<TimeBasedForecastProperties.Builder> forecastProperties) The forecast properties setup of a forecast in the line chart.
This is a convenience method that creates an instance of theTimeBasedForecastProperties.Builder
avoiding the need to create one manually viaTimeBasedForecastProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toforecastProperties(TimeBasedForecastProperties)
.- Parameters:
forecastProperties
- a consumer that will call methods onTimeBasedForecastProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scenario
The forecast scenario of a forecast in the line chart.
- Parameters:
scenario
- The forecast scenario of a forecast in the line chart.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scenario
The forecast scenario of a forecast in the line chart.
This is a convenience method that creates an instance of theForecastScenario.Builder
avoiding the need to create one manually viaForecastScenario.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toscenario(ForecastScenario)
.- Parameters:
scenario
- a consumer that will call methods onForecastScenario.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-