Interface CostInputs.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CostInputs.Builder,,CostInputs> SdkBuilder<CostInputs.Builder,,CostInputs> SdkPojo
- Enclosing class:
CostInputs
-
Method Summary
Modifier and TypeMethodDescriptionfixedMonthlyCost(Double fixedMonthlyCost) Fixed monthly cost to run the app in USD, including non-AWS fixed costs.Margins the developer named, each in [0, 1).margins(Collection<Double> margins) Margins the developer named, each in [0, 1).Where the cost figures came from.source(CostSource source) Where the cost figures came from.Costs the developer knows exist but could not price, for exampleemail provider.unknown(Collection<String> unknown) Costs the developer knows exist but could not price, for exampleemail provider.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
Where the cost figures came from. Required when any
actions[].unitCostis 0. Absent: NONE when no action hasunitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE needunitCoston every action.- Parameters:
source- Where the cost figures came from. Required when anyactions[].unitCostis 0. Absent: NONE when no action hasunitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE needunitCoston 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[].unitCostis 0. Absent: NONE when no action hasunitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE needunitCoston every action.- Parameters:
source- Where the cost figures came from. Required when anyactions[].unitCostis 0. Absent: NONE when no action hasunitCost, ESTIMATE when every action has it. ACTUALS, LIVE and ESTIMATE needunitCoston 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, socosts.statusin the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. WithsourceNONE the items are only shown.- Parameters:
unknown- Costs the developer knows exist but could not price, for exampleemail 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, socosts.statusin the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. WithsourceNONE the items are only shown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, socosts.statusin the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. WithsourceNONE the items are only shown.- Parameters:
unknown- Costs the developer knows exist but could not price, for exampleemail 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, socosts.statusin the response is INCOMPLETE and the confidence is LOW, and the rendered text names each item. WithsourceNONE the items are only shown.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, withmarket.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.coverPricesin 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 (seevalueKind) 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.coverPricesin the response is empty.- Parameters:
margins- Margins the developer named, each in [0, 1).costs.coverPricesin 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 (seevalueKind) 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.coverPricesin the response is empty.- 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.coverPricesin 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 (seevalueKind) 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.coverPricesin the response is empty.- Parameters:
margins- Margins the developer named, each in [0, 1).costs.coverPricesin 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 (seevalueKind) 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.coverPricesin the response is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-