Interface ECSEffectiveRecommendationPreferences.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ECSEffectiveRecommendationPreferences.Builder,
,ECSEffectiveRecommendationPreferences> SdkBuilder<ECSEffectiveRecommendationPreferences.Builder,
,ECSEffectiveRecommendationPreferences> SdkPojo
- Enclosing class:
ECSEffectiveRecommendationPreferences
public static interface ECSEffectiveRecommendationPreferences.Builder
extends SdkPojo, CopyableBuilder<ECSEffectiveRecommendationPreferences.Builder,ECSEffectiveRecommendationPreferences>
-
Method Summary
Modifier and TypeMethodDescriptionsavingsEstimationMode
(Consumer<ECSSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.savingsEstimationMode
(ECSSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.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
-
savingsEstimationMode
ECSEffectiveRecommendationPreferences.Builder savingsEstimationMode(ECSSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.
- Parameters:
savingsEstimationMode
- Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsEstimationMode
default ECSEffectiveRecommendationPreferences.Builder savingsEstimationMode(Consumer<ECSSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.
This is a convenience method that creates an instance of theECSSavingsEstimationMode.Builder
avoiding the need to create one manually viaECSSavingsEstimationMode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavingsEstimationMode(ECSSavingsEstimationMode)
.- Parameters:
savingsEstimationMode
- a consumer that will call methods onECSSavingsEstimationMode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-