Interface SavingsPlansCostCalculation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansCostCalculation.Builder,
,SavingsPlansCostCalculation> SdkBuilder<SavingsPlansCostCalculation.Builder,
,SavingsPlansCostCalculation> SdkPojo
- Enclosing class:
SavingsPlansCostCalculation
public static interface SavingsPlansCostCalculation.Builder
extends SdkPojo, CopyableBuilder<SavingsPlansCostCalculation.Builder,SavingsPlansCostCalculation>
-
Method Summary
Modifier and TypeMethodDescriptionpricing
(Consumer<SavingsPlansPricing.Builder> pricing) Pricing details of the purchase recommendation.pricing
(SavingsPlansPricing pricing) Pricing details of the purchase recommendation.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, sdkFields
-
Method Details
-
pricing
Pricing details of the purchase recommendation.
- Parameters:
pricing
- Pricing details of the purchase recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pricing
Pricing details of the purchase recommendation.
This is a convenience method that creates an instance of theSavingsPlansPricing.Builder
avoiding the need to create one manually viaSavingsPlansPricing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topricing(SavingsPlansPricing)
.- Parameters:
pricing
- a consumer that will call methods onSavingsPlansPricing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-