Interface EBSEffectiveRecommendationPreferences.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EBSEffectiveRecommendationPreferences.Builder,,EBSEffectiveRecommendationPreferences> SdkBuilder<EBSEffectiveRecommendationPreferences.Builder,,EBSEffectiveRecommendationPreferences> SdkPojo
- Enclosing class:
EBSEffectiveRecommendationPreferences
public static interface EBSEffectiveRecommendationPreferences.Builder
extends SdkPojo, CopyableBuilder<EBSEffectiveRecommendationPreferences.Builder,EBSEffectiveRecommendationPreferences>
-
Method Summary
Modifier and TypeMethodDescriptionsavingsEstimationMode(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, 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:
-