Interface ModelComparison.Builder

  • Method Details

    • pricingModel

      ModelComparison.Builder pricingModel(String pricingModel)

      The pricing model. With a value estimate a per-use model is listed as PER_USE, also when pricingModel is PER_USE_SPLIT; without one the only row is pricingModel.

      Parameters:
      pricingModel - The pricing model. With a value estimate a per-use model is listed as PER_USE, also when pricingModel is PER_USE_SPLIT; without one the only row is pricingModel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • pricingModel

      ModelComparison.Builder pricingModel(PricingModel pricingModel)

      The pricing model. With a value estimate a per-use model is listed as PER_USE, also when pricingModel is PER_USE_SPLIT; without one the only row is pricingModel.

      Parameters:
      pricingModel - The pricing model. With a value estimate a per-use model is listed as PER_USE, also when pricingModel is PER_USE_SPLIT; without one the only row is pricingModel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • monthlyProfit

      ModelComparison.Builder monthlyProfit(String monthlyProfit)

      Modeled monthly profit, which can be negative.

      Parameters:
      monthlyProfit - Modeled monthly profit, which can be negative.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monthlyRevenue

      ModelComparison.Builder monthlyRevenue(Price monthlyRevenue)

      Modeled monthly revenue.

      Parameters:
      monthlyRevenue - Modeled monthly revenue.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • monthlyRevenue

      default ModelComparison.Builder monthlyRevenue(Consumer<Price.Builder> monthlyRevenue)

      Modeled monthly revenue.

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

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

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

      Profit as a share of revenue, to 2 decimal places. Absent when revenue is zero.

      Parameters:
      margin - Profit as a share of revenue, to 2 decimal places. Absent when revenue is zero.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paidShare

      ModelComparison.Builder paidShare(Double paidShare)

      Modeled share of potential customers who pay, to 2 decimal places.

      Parameters:
      paidShare - Modeled share of potential customers who pay, to 2 decimal places.
      Returns:
      Returns a reference to this object so that method calls can be chained together.