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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ECSEffectiveRecommendationPreferences.BuildersavingsEstimationMode(Consumer<ECSSavingsEstimationMode.Builder> savingsEstimationMode)Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon ECS services.ECSEffectiveRecommendationPreferences.BuildersavingsEstimationMode(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 Detail
-
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.Builderavoiding the need to create one manually viaECSSavingsEstimationMode.builder().When the
Consumercompletes,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:
savingsEstimationMode(ECSSavingsEstimationMode)
-
-