Interface CostInputs.Builder

  • Method Details

    • source

      CostInputs.Builder source(String source)

      Where the cost figures came from. Required when any actions[].unitCost is 0. Absent: NONE when no action has unitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need unitCost on every action.

      Parameters:
      source - Where the cost figures came from. Required when any actions[].unitCost is 0. Absent: NONE when no action has unitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need unitCost on every action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • source

      Where the cost figures came from. Required when any actions[].unitCost is 0. Absent: NONE when no action has unitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need unitCost on every action.

      Parameters:
      source - Where the cost figures came from. Required when any actions[].unitCost is 0. Absent: NONE when no action has unitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE need unitCost on every action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • unknown

      Costs the developer knows exist but could not price, for example email provider. Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty ([]): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so costs.status in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With source NONE the items are only shown.

      Parameters:
      unknown - Costs the developer knows exist but could not price, for example email provider. Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty ([]): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so costs.status in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With source NONE the items are only shown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unknown

      CostInputs.Builder unknown(String... unknown)

      Costs the developer knows exist but could not price, for example email provider. Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty ([]): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so costs.status in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With source NONE the items are only shown.

      Parameters:
      unknown - Costs the developer knows exist but could not price, for example email provider. Omitted: the costs count as complete but unconfirmed, and the rendered text asks the developer to add any that are missing. Empty ([]): the developer confirmed there are no other costs. One or more items: the costs are incomplete, so costs.status in the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. With source NONE the items are only shown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fixedMonthlyCost

      CostInputs.Builder fixedMonthlyCost(Double fixedMonthlyCost)

      Fixed monthly cost to run the app in USD, including non-AWS fixed costs. Defaults to 0. It raises break-even (fixed cost per payer, with market.expectedUsers), so it can change the verdict and the price.

      Parameters:
      fixedMonthlyCost - Fixed monthly cost to run the app in USD, including non-AWS fixed costs. Defaults to 0. It raises break-even (fixed cost per payer, with market.expectedUsers), so it can change the verdict and the price.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • margins

      Margins the developer named, each in [0, 1). costs.coverPrices in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see valueKind) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as [0]. Omitted, or only 0: costs.coverPrices in the response is empty.

      Parameters:
      margins - Margins the developer named, each in [0, 1). costs.coverPrices in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see valueKind) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as [0]. Omitted, or only 0: costs.coverPrices in the response is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • margins

      CostInputs.Builder margins(Double... margins)

      Margins the developer named, each in [0, 1). costs.coverPrices in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see valueKind) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as [0]. Omitted, or only 0: costs.coverPrices in the response is empty.

      Parameters:
      margins - Margins the developer named, each in [0, 1). costs.coverPrices in the response shows the price that covers cost to serve at each margin above 0. The lowest margin also sets the lowest overage and credit-pack price per unit; order does not matter. With no value basis and no experiential estimate (see valueKind) the price is cost to serve at the lowest margin; omitted means a default margin of 0, labelled as a default, which prices at cost, the same as [0]. Omitted, or only 0: costs.coverPrices in the response is empty.
      Returns:
      Returns a reference to this object so that method calls can be chained together.