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
Modifier and TypeMethodDescriptiondefault ForecastScenario.Builder
whatIfPointScenario
(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.Builder
whatIfRangeScenario
(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
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 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.Builder
avoiding the need to create one manually viaWhatIfPointScenario.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaWhatIfRangeScenario.builder()
.When the
Consumer
completes,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:
-