Interface CostOutcome.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CostOutcome.Builder,,CostOutcome> SdkBuilder<CostOutcome.Builder,,CostOutcome> SdkPojo
- Enclosing class:
CostOutcome
-
Method Summary
Modifier and TypeMethodDescriptiondefault CostOutcome.BuilderbreakEven(Consumer<BreakEvenRange.Builder> breakEven) Cost to serve one payer at the expected number of payers, at one tenth and at ten times.breakEven(BreakEvenRange breakEven) Cost to serve one payer at the expected number of payers, at one tenth and at ten times.coverPrices(Collection<CostCover> coverPrices) The price that covers cost to serve at each margin above 0 in the request'scosts.margins.coverPrices(Consumer<CostCover.Builder>... coverPrices) The price that covers cost to serve at each margin above 0 in the request'scosts.margins.coverPrices(CostCover... coverPrices) The price that covers cost to serve at each margin above 0 in the request'scosts.margins.coverStatus(String coverStatus) Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.coverStatus(CostCoverStatus coverStatus) Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.impliedMargin(Double impliedMargin) Share of revenue left after cost to serve at the recommended price and expected scale, to 2 decimal places.Whether the costs behindverdictandcosts.breakEvenare complete.status(PlanRecommendationCostStatus status) Whether the costs behindverdictandcosts.breakEvenare complete.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
-
status
Whether the costs behind
verdictandcosts.breakEvenare complete.- Parameters:
status- Whether the costs behindverdictandcosts.breakEvenare complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Whether the costs behind
verdictandcosts.breakEvenare complete.- Parameters:
status- Whether the costs behindverdictandcosts.breakEvenare complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coverStatus
Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.
- Parameters:
coverStatus- Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coverStatus
Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.
- Parameters:
coverStatus- Whether the recommended price covers cost to serve as modeled, was raised to cover it, or could not cover it at any price.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coverPrices
The price that covers cost to serve at each margin above 0 in the request's
costs.margins. Reference only.- Parameters:
coverPrices- The price that covers cost to serve at each margin above 0 in the request'scosts.margins. Reference only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverPrices
The price that covers cost to serve at each margin above 0 in the request's
costs.margins. Reference only.- Parameters:
coverPrices- The price that covers cost to serve at each margin above 0 in the request'scosts.margins. Reference only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coverPrices
The price that covers cost to serve at each margin above 0 in the request's
This is a convenience method that creates an instance of thecosts.margins. Reference only.CostCover.Builderavoiding the need to create one manually viaCostCover.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoverPrices(List<CostCover>).- Parameters:
coverPrices- a consumer that will call methods onCostCover.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
breakEven
Cost to serve one payer at the expected number of payers, at one tenth and at ten times.
- Parameters:
breakEven- Cost to serve one payer at the expected number of payers, at one tenth and at ten times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
breakEven
Cost to serve one payer at the expected number of payers, at one tenth and at ten times.
This is a convenience method that creates an instance of theBreakEvenRange.Builderavoiding the need to create one manually viaBreakEvenRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobreakEven(BreakEvenRange).- Parameters:
breakEven- a consumer that will call methods onBreakEvenRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
impliedMargin
Share of revenue left after cost to serve at the recommended price and expected scale, to 2 decimal places.
- Parameters:
impliedMargin- Share of revenue left after cost to serve at the recommended price and expected scale, to 2 decimal places.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-