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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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:
-