Interface ForecastScenario.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ForecastScenario.Builder,,ForecastScenario> SdkBuilder<ForecastScenario.Builder,,ForecastScenario> SdkPojo
- Enclosing class:
ForecastScenario
public static interface ForecastScenario.Builder
extends SdkPojo, CopyableBuilder<ForecastScenario.Builder,ForecastScenario>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ForecastScenario.BuilderwhatIfPointScenario(Consumer<WhatIfPointScenario.Builder> whatIfPointScenario) The what-if analysis forecast setup with the target date.whatIfPointScenario(WhatIfPointScenario whatIfPointScenario) The what-if analysis forecast setup with the target date.default ForecastScenario.BuilderwhatIfRangeScenario(Consumer<WhatIfRangeScenario.Builder> whatIfRangeScenario) The what-if analysis forecast setup with the date range.whatIfRangeScenario(WhatIfRangeScenario whatIfRangeScenario) The what-if analysis forecast setup with the date range.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, sdkFields
-
Method Details
-
whatIfPointScenario
The what-if analysis forecast setup with the target date.
- Parameters:
whatIfPointScenario- The what-if analysis forecast setup with the target date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfPointScenario
default ForecastScenario.Builder whatIfPointScenario(Consumer<WhatIfPointScenario.Builder> whatIfPointScenario) The what-if analysis forecast setup with the target date.
This is a convenience method that creates an instance of theWhatIfPointScenario.Builderavoiding the need to create one manually viaWhatIfPointScenario.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towhatIfPointScenario(WhatIfPointScenario).- Parameters:
whatIfPointScenario- a consumer that will call methods onWhatIfPointScenario.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
whatIfRangeScenario
The what-if analysis forecast setup with the date range.
- Parameters:
whatIfRangeScenario- The what-if analysis forecast setup with the date range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
whatIfRangeScenario
default ForecastScenario.Builder whatIfRangeScenario(Consumer<WhatIfRangeScenario.Builder> whatIfRangeScenario) The what-if analysis forecast setup with the date range.
This is a convenience method that creates an instance of theWhatIfRangeScenario.Builderavoiding the need to create one manually viaWhatIfRangeScenario.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towhatIfRangeScenario(WhatIfRangeScenario).- Parameters:
whatIfRangeScenario- a consumer that will call methods onWhatIfRangeScenario.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-