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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaSavingsPlansPricing.builder().When the
Consumercompletes,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:
-