Interface SavingsOpportunity.Builder

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

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

    • savingsOpportunityPercentage

      SavingsOpportunity.Builder savingsOpportunityPercentage(Double savingsOpportunityPercentage)

      The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.

      Parameters:
      savingsOpportunityPercentage - The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer recommendations for a given resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      SavingsOpportunity.Builder estimatedMonthlySavings(EstimatedMonthlySavings estimatedMonthlySavings)

      An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..

      Parameters:
      estimatedMonthlySavings - An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedMonthlySavings

      default SavingsOpportunity.Builder estimatedMonthlySavings(Consumer<EstimatedMonthlySavings.Builder> estimatedMonthlySavings)

      An object that describes the estimated monthly savings amount possible by adopting Compute Optimizer recommendations for a given resource. This is based on the On-Demand instance pricing..

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

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

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