Interface InstanceSavingsOpportunityAfterDiscounts.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>, SdkBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>, SdkPojo
Enclosing class:
InstanceSavingsOpportunityAfterDiscounts

public static interface InstanceSavingsOpportunityAfterDiscounts.Builder extends SdkPojo, CopyableBuilder<InstanceSavingsOpportunityAfterDiscounts.Builder,InstanceSavingsOpportunityAfterDiscounts>
  • Method Details

    • savingsOpportunityPercentage

      InstanceSavingsOpportunityAfterDiscounts.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)

      The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.

      Parameters:
      savingsOpportunityPercentage - The estimated monthly savings possible as a percentage of monthly cost after applying the Savings Plans and Reserved Instances discounts. This saving can be achieved by adopting Compute Optimizer’s EC2 instance recommendations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.

      Parameters:
      estimatedMonthlySavings - An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      An object that describes the estimated monthly savings possible by adopting Compute Optimizer’s Amazon EC2 instance recommendations. This is based on pricing after applying the Savings Plans and Reserved Instances discounts.

      This is a convenience method that creates an instance of the InstanceEstimatedMonthlySavings.Builder avoiding the need to create one manually via InstanceEstimatedMonthlySavings.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to estimatedMonthlySavings(InstanceEstimatedMonthlySavings).

      Parameters:
      estimatedMonthlySavings - a consumer that will call methods on InstanceEstimatedMonthlySavings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: