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 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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaEBSSavingsEstimationMode.builder()
.When the
Consumer
completes,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:
-