Interface ResourcePricing.Builder

  • Method Details

    • estimatedCostBeforeDiscounts

      ResourcePricing.Builder estimatedCostBeforeDiscounts(Double estimatedCostBeforeDiscounts)

      The savings estimate using Amazon Web Services public pricing without incorporating any discounts.

      Parameters:
      estimatedCostBeforeDiscounts - The savings estimate using Amazon Web Services public pricing without incorporating any discounts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedNetUnusedAmortizedCommitments

      ResourcePricing.Builder estimatedNetUnusedAmortizedCommitments(Double estimatedNetUnusedAmortizedCommitments)

      The estimated net unused amortized commitment for the recommendation.

      Parameters:
      estimatedNetUnusedAmortizedCommitments - The estimated net unused amortized commitment for the recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedDiscounts

      ResourcePricing.Builder estimatedDiscounts(EstimatedDiscounts estimatedDiscounts)

      The estimated discounts for a recommendation.

      Parameters:
      estimatedDiscounts - The estimated discounts for a recommendation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedDiscounts

      default ResourcePricing.Builder estimatedDiscounts(Consumer<EstimatedDiscounts.Builder> estimatedDiscounts)

      The estimated discounts for a recommendation.

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

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

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

      ResourcePricing.Builder estimatedCostAfterDiscounts(Double estimatedCostAfterDiscounts)

      The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.

      Parameters:
      estimatedCostAfterDiscounts - The savings estimate incorporating all discounts with Amazon Web Services, such as Reserved Instances and Savings Plans.
      Returns:
      Returns a reference to this object so that method calls can be chained together.