Interface EBSEffectiveRecommendationPreferences.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EBSEffectiveRecommendationPreferences.Builder,,EBSEffectiveRecommendationPreferences> SdkBuilder<EBSEffectiveRecommendationPreferences.Builder,,EBSEffectiveRecommendationPreferences> SdkPojo
- Enclosing class:
EBSEffectiveRecommendationPreferences
@Mutable
@NotThreadSafe
public static interface EBSEffectiveRecommendationPreferences.Builder
extends SdkPojo, CopyableBuilder<EBSEffectiveRecommendationPreferences.Builder,EBSEffectiveRecommendationPreferences>
-
Method Summary
Modifier and TypeMethodDescriptionlookBackPeriod(String lookBackPeriod) The number of days for which utilization metrics were analyzed for the volume.lookBackPeriod(LookBackPeriodPreference lookBackPeriod) The number of days for which utilization metrics were analyzed for the volume.savingsEstimationMode(Consumer<EBSSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.savingsEstimationMode(EBSSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.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
EBSEffectiveRecommendationPreferences.Builder savingsEstimationMode(EBSSavingsEstimationMode savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.
- Parameters:
savingsEstimationMode- Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savingsEstimationMode
default EBSEffectiveRecommendationPreferences.Builder savingsEstimationMode(Consumer<EBSSavingsEstimationMode.Builder> savingsEstimationMode) Describes the savings estimation mode preference applied for calculating savings opportunity for Amazon EBS volumes.
This is a convenience method that creates an instance of theEBSSavingsEstimationMode.Builderavoiding the need to create one manually viaEBSSavingsEstimationMode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosavingsEstimationMode(EBSSavingsEstimationMode).- Parameters:
savingsEstimationMode- a consumer that will call methods onEBSSavingsEstimationMode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lookBackPeriod
The number of days for which utilization metrics were analyzed for the volume.
- Parameters:
lookBackPeriod- The number of days for which utilization metrics were analyzed for the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lookBackPeriod
EBSEffectiveRecommendationPreferences.Builder lookBackPeriod(LookBackPeriodPreference lookBackPeriod) The number of days for which utilization metrics were analyzed for the volume.
- Parameters:
lookBackPeriod- The number of days for which utilization metrics were analyzed for the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-