Interface SavingsPlansUtilizationByTime.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SavingsPlansUtilizationByTime.Builder,
,SavingsPlansUtilizationByTime> SdkBuilder<SavingsPlansUtilizationByTime.Builder,
,SavingsPlansUtilizationByTime> SdkPojo
- Enclosing class:
SavingsPlansUtilizationByTime
-
Method Summary
Modifier and TypeMethodDescriptionamortizedCommitment
(Consumer<SavingsPlansAmortizedCommitment.Builder> amortizedCommitment) The total amortized commitment for a Savings Plans.amortizedCommitment
(SavingsPlansAmortizedCommitment amortizedCommitment) The total amortized commitment for a Savings Plans.savings
(Consumer<SavingsPlansSavings.Builder> savings) The amount that's saved by using existing Savings Plans.savings
(SavingsPlansSavings savings) The amount that's saved by using existing Savings Plans.timePeriod
(Consumer<DateInterval.Builder> timePeriod) Sets the value of the TimePeriod property for this object.timePeriod
(DateInterval timePeriod) Sets the value of the TimePeriod property for this object.utilization
(Consumer<SavingsPlansUtilization.Builder> utilization) A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.utilization
(SavingsPlansUtilization utilization) A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.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
-
timePeriod
Sets the value of the TimePeriod property for this object.- Parameters:
timePeriod
- The new value for the TimePeriod property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
Sets the value of the TimePeriod property for this object. This is a convenience method that creates an instance of theDateInterval.Builder
avoiding the need to create one manually viaDateInterval.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totimePeriod(DateInterval)
.- Parameters:
timePeriod
- a consumer that will call methods onDateInterval.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
utilization
A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
- Parameters:
utilization
- A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilization
default SavingsPlansUtilizationByTime.Builder utilization(Consumer<SavingsPlansUtilization.Builder> utilization) A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.
This is a convenience method that creates an instance of theSavingsPlansUtilization.Builder
avoiding the need to create one manually viaSavingsPlansUtilization.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toutilization(SavingsPlansUtilization)
.- Parameters:
utilization
- a consumer that will call methods onSavingsPlansUtilization.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
savings
The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and also the
onDemandCostEquivalent
of the Savings Plans when considering the utilization rate.- Parameters:
savings
- The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and also theonDemandCostEquivalent
of the Savings Plans when considering the utilization rate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
savings
default SavingsPlansUtilizationByTime.Builder savings(Consumer<SavingsPlansSavings.Builder> savings) The amount that's saved by using existing Savings Plans. Savings returns both net savings from Savings Plans and also the
This is a convenience method that creates an instance of theonDemandCostEquivalent
of the Savings Plans when considering the utilization rate.SavingsPlansSavings.Builder
avoiding the need to create one manually viaSavingsPlansSavings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosavings(SavingsPlansSavings)
.- Parameters:
savings
- a consumer that will call methods onSavingsPlansSavings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
amortizedCommitment
SavingsPlansUtilizationByTime.Builder amortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment) The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
- Parameters:
amortizedCommitment
- The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
amortizedCommitment
default SavingsPlansUtilizationByTime.Builder amortizedCommitment(Consumer<SavingsPlansAmortizedCommitment.Builder> amortizedCommitment) The total amortized commitment for a Savings Plans. This includes the sum of the upfront and recurring Savings Plans fees.
This is a convenience method that creates an instance of theSavingsPlansAmortizedCommitment.Builder
avoiding the need to create one manually viaSavingsPlansAmortizedCommitment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toamortizedCommitment(SavingsPlansAmortizedCommitment)
.- Parameters:
amortizedCommitment
- a consumer that will call methods onSavingsPlansAmortizedCommitment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-