Interface ForecastScenario.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ForecastScenario.Builder,ForecastScenario>,SdkBuilder<ForecastScenario.Builder,ForecastScenario>,SdkPojo
- Enclosing class:
- ForecastScenario
@Mutable @NotThreadSafe public static interface ForecastScenario.Builder extends SdkPojo, CopyableBuilder<ForecastScenario.Builder,ForecastScenario>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ForecastScenario.BuilderwhatIfPointScenario(Consumer<WhatIfPointScenario.Builder> whatIfPointScenario)The what-if analysis forecast setup with the target date.ForecastScenario.BuilderwhatIfPointScenario(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.ForecastScenario.BuilderwhatIfRangeScenario(WhatIfRangeScenario whatIfRangeScenario)The what-if analysis forecast setup with the date range.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
whatIfPointScenario
ForecastScenario.Builder whatIfPointScenario(WhatIfPointScenario 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:
whatIfPointScenario(WhatIfPointScenario)
-
whatIfRangeScenario
ForecastScenario.Builder whatIfRangeScenario(WhatIfRangeScenario 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:
whatIfRangeScenario(WhatIfRangeScenario)
-
-