Interface SavingsPlansUtilizationDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SavingsPlansUtilizationDetail.Builder,SavingsPlansUtilizationDetail>,SdkBuilder<SavingsPlansUtilizationDetail.Builder,SavingsPlansUtilizationDetail>,SdkPojo
- Enclosing class:
- SavingsPlansUtilizationDetail
public static interface SavingsPlansUtilizationDetail.Builder extends SdkPojo, CopyableBuilder<SavingsPlansUtilizationDetail.Builder,SavingsPlansUtilizationDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SavingsPlansUtilizationDetail.BuilderamortizedCommitment(Consumer<SavingsPlansAmortizedCommitment.Builder> amortizedCommitment)The total amortized commitment for a Savings Plans.SavingsPlansUtilizationDetail.BuilderamortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)The total amortized commitment for a Savings Plans.SavingsPlansUtilizationDetail.Builderattributes(Map<String,String> attributes)The attribute that applies to a specificDimension.default SavingsPlansUtilizationDetail.Buildersavings(Consumer<SavingsPlansSavings.Builder> savings)The amount saved by using existing Savings Plans.SavingsPlansUtilizationDetail.Buildersavings(SavingsPlansSavings savings)The amount saved by using existing Savings Plans.SavingsPlansUtilizationDetail.BuildersavingsPlanArn(String savingsPlanArn)The unique Amazon Resource Name (ARN) for a particular Savings Plan.default SavingsPlansUtilizationDetail.Builderutilization(Consumer<SavingsPlansUtilization.Builder> utilization)A ratio of your effectiveness of using existing Savings Plans to apply to workloads that are Savings Plans eligible.SavingsPlansUtilizationDetail.Builderutilization(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 Detail
-
savingsPlanArn
SavingsPlansUtilizationDetail.Builder savingsPlanArn(String savingsPlanArn)
The unique Amazon Resource Name (ARN) for a particular Savings Plan.
- Parameters:
savingsPlanArn- The unique Amazon Resource Name (ARN) for a particular Savings Plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
SavingsPlansUtilizationDetail.Builder attributes(Map<String,String> attributes)
The attribute that applies to a specific
Dimension.- Parameters:
attributes- The attribute that applies to a specificDimension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilization
SavingsPlansUtilizationDetail.Builder utilization(SavingsPlansUtilization 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 SavingsPlansUtilizationDetail.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.Builderavoiding the need to create one manually viaSavingsPlansUtilization.builder().When the
Consumercompletes,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:
utilization(SavingsPlansUtilization)
-
savings
SavingsPlansUtilizationDetail.Builder savings(SavingsPlansSavings savings)
The amount saved by using existing Savings Plans. Savings returns both net savings from savings plans and also the
onDemandCostEquivalentof the Savings Plans when considering the utilization rate.- Parameters:
savings- The amount saved by using existing Savings Plans. Savings returns both net savings from savings plans and also theonDemandCostEquivalentof 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 SavingsPlansUtilizationDetail.Builder savings(Consumer<SavingsPlansSavings.Builder> savings)
The amount 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 theonDemandCostEquivalentof the Savings Plans when considering the utilization rate.SavingsPlansSavings.Builderavoiding the need to create one manually viaSavingsPlansSavings.builder().When the
Consumercompletes,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:
savings(SavingsPlansSavings)
-
amortizedCommitment
SavingsPlansUtilizationDetail.Builder amortizedCommitment(SavingsPlansAmortizedCommitment amortizedCommitment)
The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.
- Parameters:
amortizedCommitment- The total amortized commitment for a Savings Plans. 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 SavingsPlansUtilizationDetail.Builder amortizedCommitment(Consumer<SavingsPlansAmortizedCommitment.Builder> amortizedCommitment)
The total amortized commitment for a Savings Plans. Includes the sum of the upfront and recurring Savings Plans fees.
This is a convenience method that creates an instance of theSavingsPlansAmortizedCommitment.Builderavoiding the need to create one manually viaSavingsPlansAmortizedCommitment.builder().When the
Consumercompletes,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:
amortizedCommitment(SavingsPlansAmortizedCommitment)
-
-