Interface ComputeSavingsPlans.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeSavingsPlans.Builder,ComputeSavingsPlans>,SdkBuilder<ComputeSavingsPlans.Builder,ComputeSavingsPlans>,SdkPojo
- Enclosing class:
- ComputeSavingsPlans
public static interface ComputeSavingsPlans.Builder extends SdkPojo, CopyableBuilder<ComputeSavingsPlans.Builder,ComputeSavingsPlans>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ComputeSavingsPlans.Builderconfiguration(Consumer<ComputeSavingsPlansConfiguration.Builder> configuration)Configuration details of the Compute Savings Plans to purchase.ComputeSavingsPlans.Builderconfiguration(ComputeSavingsPlansConfiguration configuration)Configuration details of the Compute Savings Plans to purchase.default ComputeSavingsPlans.BuildercostCalculation(Consumer<SavingsPlansCostCalculation.Builder> costCalculation)Cost impact of the Savings Plans purchase recommendation.ComputeSavingsPlans.BuildercostCalculation(SavingsPlansCostCalculation costCalculation)Cost impact of the Savings Plans 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 Detail
-
configuration
ComputeSavingsPlans.Builder configuration(ComputeSavingsPlansConfiguration configuration)
Configuration details of the Compute Savings Plans to purchase.
- Parameters:
configuration- Configuration details of the Compute Savings Plans to purchase.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default ComputeSavingsPlans.Builder configuration(Consumer<ComputeSavingsPlansConfiguration.Builder> configuration)
Configuration details of the Compute Savings Plans to purchase.
This is a convenience method that creates an instance of theComputeSavingsPlansConfiguration.Builderavoiding the need to create one manually viaComputeSavingsPlansConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ComputeSavingsPlansConfiguration).- Parameters:
configuration- a consumer that will call methods onComputeSavingsPlansConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(ComputeSavingsPlansConfiguration)
-
costCalculation
ComputeSavingsPlans.Builder costCalculation(SavingsPlansCostCalculation costCalculation)
Cost impact of the Savings Plans purchase recommendation.
- Parameters:
costCalculation- Cost impact of the Savings Plans purchase recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
costCalculation
default ComputeSavingsPlans.Builder costCalculation(Consumer<SavingsPlansCostCalculation.Builder> costCalculation)
Cost impact of the Savings Plans purchase recommendation.
This is a convenience method that creates an instance of theSavingsPlansCostCalculation.Builderavoiding the need to create one manually viaSavingsPlansCostCalculation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocostCalculation(SavingsPlansCostCalculation).- Parameters:
costCalculation- a consumer that will call methods onSavingsPlansCostCalculation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
costCalculation(SavingsPlansCostCalculation)
-
-