Interface ECSEffectiveRecommendationPreferences.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ECSEffectiveRecommendationPreferences.Builder,,ECSEffectiveRecommendationPreferences> SdkBuilder<ECSEffectiveRecommendationPreferences.Builder,,ECSEffectiveRecommendationPreferences> SdkPojo
- Enclosing class:
ECSEffectiveRecommendationPreferences
@Mutable
@NotThreadSafe
public static interface ECSEffectiveRecommendationPreferences.Builder
extends SdkPojo, CopyableBuilder<ECSEffectiveRecommendationPreferences.Builder,ECSEffectiveRecommendationPreferences>
-
Method Summary
Modifier and TypeMethodDescriptionlookBackPeriod(String lookBackPeriod) The number of days the Amazon ECS service utilization metrics were analyzed.lookBackPeriod(LookBackPeriodPreference lookBackPeriod) The number of days the Amazon ECS service utilization metrics were analyzed.savingsEstimationMode(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, sdkFieldNameToField, 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:
-
lookBackPeriod
The number of days the Amazon ECS service utilization metrics were analyzed.
- Parameters:
lookBackPeriod- The number of days the Amazon ECS service utilization metrics were analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lookBackPeriod
ECSEffectiveRecommendationPreferences.Builder lookBackPeriod(LookBackPeriodPreference lookBackPeriod) The number of days the Amazon ECS service utilization metrics were analyzed.
- Parameters:
lookBackPeriod- The number of days the Amazon ECS service utilization metrics were analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-