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.BuilderforecastProperties(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.Builderscenario(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaTimeBasedForecastProperties.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaForecastScenario.builder().When the
Consumercompletes,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:
-